ssh key auth problem
HI,
i have two VM running RHEL 5.3. i want to setup ssh key authentication, for this purpose i have followed http://www.petefreitag.com/item/532.cfm but the problem is when i try to access remote system it prompts me to enter Passphrase Code:
Enter passphrase for key '/root/.ssh/id_rsa': Code:
copied the content of id_rsa.pub to remote system's .ssh/authorized_keys. Is something wrong in this ? |
Saving the key should not have failed.
I am assuming that you did not use a passphrase when you created your keys ... so if you are getting prompted for a passphrase, then that means the system is using a different key (which is most likely since you got that error). |
i have entered passphrase, "6 characters" (Testing Evn). when i enter passphrase, remote system allows me to login.
strange. |
Not so strange: the certificate apparently was protected by a passphrase. So, your local ssh client asked you to enter the passphrase. When you did so (correctly), it submitted the key to the host and it was accepted. "Working as designed..."
|
so how do i solve this, to get auto login on remote system.
thanks. |
All times are GMT -5. The time now is 09:29 PM. |