This content has been marked as final. Show 2 replies
I found the solution...
in scp command id_rsa.pub file should copy as authorized_key2. Once i change the name it worked..... ....
You did not mention what Linux system and release you are using, but the use of authorized_keys2 has been depreciated already long time ago. You will also need to use DSA instead of RSA for many open source tools.
See the following thread Re: prompting for passwords even i configured ssh password less authentication