[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ssh authentication



> I'm trying to use the third option - RSA authentication with the
> authorized_keys file.
> however it does not seems to work.
> 
> Any idea why ?

1) Check /etc/ssh/sshd_config (or wherever it is located
on your machine) and make sure RSA authentication IS allowed.

2) Read /var/log/messages shortly after you fail to login.
sshd is picky about ~/.ssh/authorized_keys files it'll read
or ignore (it'll refuse to use files with unsecure permissions
for example).
chmod 600 ~/.ssh/authorized_keys
and make sure you own your own home directory.



=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il