sshd with publickey problem in Fedora

Satish Balay balay at fastmail.fm
Wed Oct 13 03:26:48 UTC 2004


On Tue, 12 Oct 2004, Qiang Lu wrote:

> Hello fedora-list,
> 
>   I used Radhat 8 and use public key with ssh all the time.
> But after I installed Fedora 2. I cannot use public key to ssh to a
> Fedora machine. But I can ssh to a Radhat8 machine with public key.

Most likely the file permissions are incorrect on ~/ or ~/.ssh - and
hence ssh is not trusting the authorized_keys file

ls -ld ~/ ~/.ssh

chmod go-w ~/ 
chmod go-rw ~/.ssh

Satish




More information about the fedora-list mailing list