SSH passwordless authentication
Hi,
I have a doubt in SSH passwordless authentication. I did the following in test and test1 servers.
bakthava@test:~> ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/cantin/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/cantin/.ssh/id_rsa.
Your public key has been saved in /home/cantin/.ssh/id_rsa.pub.
The key fingerprint is:
f6:61:a8:27:35:cf:4c:6d:13:22:70:cf:4c:c8:a0:23 bakthava@test
I have given the passphrase as "testkey", then the private key was saved as .ssh/id_rsa and the public key was saved in .ssh/id_rsa.pub,
I have copied the contents of the id_rsa.pub to test1 server under /home/bakthava/.ssh/authorized_keys.
When I ssh from test to test1 it is asking for the passphrase, is the way it works or anything i did wrong. I dont want to give the passphrase when am login from test to test1.
Any help?
Last edited by purusrhce@gmail.com; 12-13-2010 at 01:51 AM.
|