Originally Posted by jschiwal
I don't know for sure what you mean by copy/pasting files. If you copy both the private and public keys, it should work. Make sure you log in using the same user name as the server expects.
Try using "ssh -vv" to provide debug information. Check the permissions of the id_rsa & id_rsa.pub files. Check the permissions of the .ssh and your HOME directory. Global read or write access (the 'o' bit) on any of these will result in ssh refusing to authenticate.
Yes, you are right. It was issue of permission. It worked when i set all files to 666.
Is there a more restricted chmod for which it will work?
Also, is there a way to debug cvs connect, like you mentioned 'ssh -vv'?