openssh v2 public-key problems?

Lars Wuerfel developer@wuerfel-datentechnik.de
Tue Aug 23 11:38:00 GMT 2005


Lapo Luchini schrieb:
> I just installed a new host in my LAN, using the new&shiny
> ssh-host-config, using privilege separation and all and (finally!)
> getting to use public key authentiucation.
> Problem is: using protocol v2 all I get is a "Connection reset by peer"
> instead of a "SSH2_MSG_KEX_DH_GEX_REPLY".
[...]
> debug1: identity file /home/lapo/.ssh/id_rsa type -1
> debug3: Not a RSA1 key file /home/lapo/.ssh/id_dsa.
> debug2: key_type_from_name: unknown key type '-----BEGIN'

Is it possible that your id_dsa is not in OpenSSH format?

OpenSSH Public keys for ssh-2 protocol look like this:
   ssh-rsa herecomesthekey...
or
   ssh-dss herecomesthekey...

Whereas, for ex., SSH Secure Shell keys for ssh-2 protocol look like this:
---- BEGIN SSH2 PUBLIC KEY ----
herecomesthekey...
---- END SSH2 PUBLIC KEY ----

Just an idea
- Lars

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list