Archive for December 2012
I know you must be banging your head against the wall over this. I did.
Make sure use are logged in as the user you want to give ssh permission to:
su sshuser cd ~/
All you need to do is fix the permissions and owner on .ssh and authorized_keys:
chmod 700 ~/.ssh chmod 600 ~/.ssh/authorized_keys chown sshuser:sshuser ~/.ssh chown sshuser:sshuser ~/.ssh/authorized_keys
This should do the work.