Monday, November 26, 2007

Wrong permissions breaks ssh.

I learned something interesting today. In Linux, if group or others has the writable permission on a users home directory, ssh will not allow the use of key based authentication. It will prompt for a password. The next time you are not able to ssh using key based authentication, you may want to check permissions on the home directory.

No comments: