[nycbug-talk] SSH not working for particular user
spork at bway.net
Sun Aug 7 00:46:38 EDT 2005
On Sat, 6 Aug 2005, George Georgalis wrote:
> On Sat, Aug 06, 2005 at 08:46:14PM -0400, Francisco Reyes wrote:
>>>> sshd: error: PAM: authentication error for fran from <my machine>
>> The rights of the .ssh directory were wrong.
>> I needs to be 700. I just wish sshd would say something about it..
>> somewhere.. anywhere.. It's near trivial to fix, yet it could be a few
>> days before one things of looking at that. :-(
> yeah, would be nice to know that from the logs.
> another thing that can bite pub keys but not pam
> is ownership of $HOME
Mine complains loudly if I do something like set my authorized_keys file
to group writable, or set the ownership wrong:
Aug 7 00:43:46 miko su: spork to root on /dev/ttyp3
Aug 7 00:44:19 miko sshd: Authentication refused: bad ownership or
modes for file /home/spork/.ssh/authorized_keys
FreeBSD 4.11, stock openssh.
> // George
> George Georgalis, systems architect, administrator <IXOYE><
> http://galis.org/ cell:646-331-2027 mailto:george at galis.org
> % NYC*BUG talk mailing list
> %Be sure to check out our Jobs and NYCBUG-announce lists
> %We meet the first Wednesday of the month
More information about the talk