ssh won't allow non-root users to login on centos

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Tue Apr 24 15:26:24 UTC 2007


On Tue, Apr 24, 2007 at 06:55:13AM -0400, Dave Cramer wrote:
> but I can get past that, and even if I don't have the public key it  
> accepts the password and then fails later.
> 
> FWIW, I can do scp .... and copy a file. It's getting a login that's  
> the problem.

Did you put something broken in your shell's config file for interactive
shells?  scp runs as a noninteractive shell so it wouldn't run those
commands, but ssh would since that starts an interactive shell.

--
Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list