Passwordless ssh, problems with passphrase on the server side.
From: dylanthomasfan (Sonny.Rajagopalan_at_gmail.com)
Date: 08/15/05
- Previous message: Old Man: "Re: SSH and "screen control"."
- Next in thread: Darren Dunham: "Re: Passwordless ssh, problems with passphrase on the server side."
- Reply: Darren Dunham: "Re: Passwordless ssh, problems with passphrase on the server side."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 15 Aug 2005 14:30:42 -0700
Hi,
I am trying to set up a passwordless user login between two of my
computers, A, the server and B the client, both of which run Linux. A
runs mandrake 10.0 (2.6.3-7) and B runs Gentoo 2.6.11. A runs
OpenSSH_3.9p1, OpenSSL 0.9.7c 30 Sep 2003 and B runs OpenSSH_3.9p1,
OpenSSL 0.9.7e 25 Oct 2004.
I am having a problem adding the key at the server side. Here's what I
have already accomplished:
(a) Created a key pair using ssh-keygen -t dsa on B using a passphrase.
(b) cat'ted the *.pub file into A in the user account's
~/.ssh/authorized_keys2.
(c) logged into A
(b) [myusername@A~ ] ssh-agent bash
But when I try
[myusername@A~ ] ssh-add .ssh/authorized_keys2
on the server A, something I don't understand happens. It asks me for a
passphrase, and when I enter the passphrase which I used in step (a)
above, it says it is a bad passphrase.
[myusername@A~ ]>ssh-add .ssh/authorized_keys2
Enter passphrase for .ssh/authorized_keys2:
Bad passphrase, try again for .ssh/authorized_keys2:
Which goes on even though I enter the right passphrase. What is going
on?
Any help is greatly appreciated.
Also, any pointers on what the difference between rsa and dsa is?
- Previous message: Old Man: "Re: SSH and "screen control"."
- Next in thread: Darren Dunham: "Re: Passwordless ssh, problems with passphrase on the server side."
- Reply: Darren Dunham: "Re: Passwordless ssh, problems with passphrase on the server side."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|