Msg#: 3190695 posted 7:41 pm on Dec 15, 2006 (gmt 0)
Can a local user passwordlessly ssh into the home directory of a another differently named user? In my case, local user, robert, needs to login to the remote home directory of user, webadmin.
Is this possible?
Locally as the 'robert' user, I created the key through: ssh-keygen -t rsa Then, I used cat to put the id_rsa.pub into the authorized_keys file located in the .ssh directory of 'webadmin' on the remote server. For some most-likely obvious reason, this did not work as a password was still required to login.
Msg#: 3190695 posted 10:51 pm on Dec 16, 2006 (gmt 0)
It's definitely possible, and that sounds right. Maybe it's picky about permissions? The .ssh directories should be mode 700 owned by the user where they reside. And the .pub and authorized_keys should be mode 600 or 644, also with the correct owners.