View previous topic :: View next topic |
Author |
Message |
grassushi n00b
Joined: 11 Feb 2005 Posts: 54
|
Posted: Tue May 24, 2005 8:32 pm Post subject: sshd2 dsa authentication with ssh1 clients |
|
|
I am trying to setup public key authentication on a server running sshd2 and client(s) using ssh1. I've already:
1) enabled ssh1 compatibility on the server,
2) used ssh-keygen -d to create a DSA key for the client.
3) I have copied the id_dsa.pub key onto the server into the .ssh2 directory (as I presume needs be done because the server is using sshd2),
4) and also I copied id_dsa.pub into .ssh directory on the server in case it can rely on ssh1 compatibility.
The main point of me doing this is to be able to log into the sshd2 server without issuing a password, which I read was possible using public key authentication.
None of these procedures has enabled me to do this. Instead, now I am prompted for both the "passphrase" and the password to log in under my username on the sshd2 server.
Is there a step that I am missing which is preventing me from bypassing the password authentication portion to connect to this server?
Any assistance on this issue would be appreciated
thanks in advance |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Tue May 24, 2005 9:11 pm Post subject: |
|
|
DSA can only be used with ssh v2.
You need to use RSA keys to connect to an ssh2 server with an ssh1 client.
For security reasons, ssh1 is not recommended; use ssh2 instead. _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
grassushi n00b
Joined: 11 Feb 2005 Posts: 54
|
Posted: Tue May 24, 2005 9:15 pm Post subject: |
|
|
adaptr:
That would definately explain why I wasn't able to setup DSA authentication then.
thank you |
|
Back to top |
|
|
|