Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sshd2 dsa authentication with ssh1 clients
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
grassushi
n00b
n00b


Joined: 11 Feb 2005
Posts: 54

PostPosted: Tue May 24, 2005 8:32 pm    Post subject: sshd2 dsa authentication with ssh1 clients Reply with quote

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
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Tue May 24, 2005 9:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
grassushi
n00b
n00b


Joined: 11 Feb 2005
Posts: 54

PostPosted: Tue May 24, 2005 9:15 pm    Post subject: Reply with quote

adaptr:

That would definately explain why I wasn't able to setup DSA authentication then.

thank you
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum