« Return to Thread: SSH login thru public keys

Re: SSH login thru public keys

by Barry Brimer-2 :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View in Thread

> scp .ssh/id_rsa.pub user@hostname:.ssh/authorized_keys
>
> changed the permissions on authorized_keys
> chmod 600

What are the permissions on ~/.ssh ??  IIRC, the correct permissions are
700.  If your permissions are not correct sshd will not accept pubkey
authentication.

HTH,
Barry

 « Return to Thread: SSH login thru public keys