ssh-keygen works for root only?

Posted by Hulk on Server Fault See other posts from Server Fault or by Hulk
Published on 2010-05-31T10:58:38Z Indexed on 2010/05/31 11:03 UTC
Read the original article Hit count: 411

Does ssh-keygen -t rsa work if only set for root user

i.e, if the username on local system is sodium and i generate the key using the above said command and on the remote system if i place the key in /root/.ssh authorized_keys ,this works.

But on the remote system if the key is placed in /home/natrium/.ssh authorized_keys

This still prompts for a password.Is this the expected behavior or is that some thing wrong in the above procedure

Thanks..

© Server Fault or respective owner

Related posts about linux

Related posts about ssh