Problem in RSA Key authentication

kannappan kannappan at tesbv.com
Tue Jun 10 21:20:31 EST 2008


Hello Darren,

There were problems with the permission in accessing the home folder
(/root).  With other users I am able to connect with the RSA key.

Thanks for the inputs.

~Kans.

-----Original Message-----
From: Darren Tucker [mailto:dtucker at zip.com.au] 
Sent: Monday, June 09, 2008 7:49 PM
To: kannappan
Cc: openssh-unix-dev at mindrot.org
Subject: Re: Problem in RSA Key authentication

kannappan wrote:
> Hello Damien,
> 
> I am using OpenSSH-5.0 on my ARM board.  I want to perform RSA
> authentication, but server is not accepting the key generated by the
> client. I have copied the authorized_keys in the "$HOME/.ssh/" folder
> and provided permission (755) to that folder.  Please help me how to
> solve this problem.
> 
> Following is the log from the client

The log that is likely to have useful information is on the server.  Try

  running sshd in debug mode (eg "/path/to/sshd -ddd -p 222" and point 
your client at port 222).

The usual cause of pubkey not being accepted is the permissions of the 
.ssh/ directory (which you mention you have checked) and the permissions

of the user's home directory (which you didn't mention).

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.




More information about the openssh-unix-dev mailing list