[NTLUG:Discuss] ssh Password-less login
Stuart Johnston
saj at thecommune.net
Thu Jul 1 11:01:26 CDT 2010
Dennis Rice wrote:
> Again back to the Linux class that I am teaching.
>
> Demonstrating ssh usage and login.
>
> Created the keys with ssh-keygen without the passphrase, then
> transferred the public key to the server from the client and appended it
> to the authorized_keys file in ~/.ssh/.
> If I do this for the root account, I am able to log in without a
> password, but if I do it for a normal user, I am still required to log
> in with a password.
>
> Any insight please.
Check your permissions on the .ssh directory and files. ssh is picky
about that. Also, add the -v (verbose) flag to get some debugging
output. It should tell you what authentication methods are being attempted.
More information about the Discuss
mailing list