1827686 Members
3375 Online
109967 Solutions
New Discussion

ssh login withRSA key !

 
ajay_25
Occasional Contributor

ssh login withRSA key !

i want to login in to my linux server which is using RSA key authentication.
from windows using putty i can login with my rsa key.
from linux to linux server i cant login.
#ssh -i user@ipaddress
it is asking passwd infact it has to ask passphrase...

please help me.

thanks and regards,
ajay
4 REPLIES 4
Vitaly Karasik_1
Honored Contributor

Re: ssh login withRSA key !

did you add client's key into autorized_key?

Do you have DNS resolution for your linux client?
Charles Harris
Super Advisor

Re: ssh login withRSA key !

Just a quick thought, check the permissions on the linux servers user/.ssh directory and all files below, as this can also prevent auto rsa key login.

Make sure the id is in the linux server's user's known_hosts.

Good luck,

-=ChaZ=-
Olivier Drouin
Trusted Contributor

Re: ssh login withRSA key !

Andrew Cowan
Honored Contributor

Re: ssh login withRSA key !

Try running sshd in debug mode "sshd -D" and then examine the debug output.

One other thing to check is if you have accidentally inserted carriage-returns in the "authorized_keys" file. The key should be a single continuous line, and have no line-breaks. Go into "vi" and use the right cursor to check.