January 26, 2006 Archives

26-01-2006 23:50

SSH auto authenticate

I had what seemed randability in being able to login remotely using SSH and public rsa keys. It didn't seem to make sense, but some accounts on some SSH servers would work and others wouldn't. I finally noticed this in the logs on a server:
Authentication refused: bad ownership or modes for directory
So i ran:
ll -d ~/.ssh drwxrwx--- ...
So then ran:
chmod -R 700 ~/.ssh
And now all workies!!! YAY!!

Posted by DaveQB | Permanent Link | Categories: IT