Problems with protocol 1 from OpenSSH
Max Bowsher
maxb@ukf.net
Thu Apr 25 05:49:00 GMT 2002
I'm not an SSH expert, but it looks like you are trying to use a protocol 2 RSA
key for protocol 1.
You should use ssh-keygen -t rsa1 to get a key suitable for protocol 1.
Even better, use the ssh-host-config script, which will set up OpenSSH for you.
See also ssh-user-config for easy generation of user keys
Max.
Leo Meerts <Leo.Meerts@sci.kun.nl> wrote:
> Problems with protocol 1 from OpenSSH
>
> Hallo,
>
> I tried to get OpenSSH to run from a WindowsXP machine especially the
> protocol 1.
>
> - 1) First I generated the host and public key: (no errors)
>
> c:\ssh>ssh-keygen -t rsa -f ssh_host_key
> Generating public/private rsa key pair.
> Enter passphrase (empty for no passphrase):
> Enter same passphrase again:
> Your identification has been saved in ssh_host_key.
> Your public key has been saved in ssh_host_key.pub.
> The key fingerprint is:
> 5f:7c:69:a2:3a:88:99:9e:d8:cb:94:9e:34:c8:82:ad leom@MLFLEO
>
> - 2) Next I started the ssh server (fails!):
>
> c:\ssh>sshd -d -f sshd_config
> debug1: sshd version OpenSSH_3.1p1
> debug1: read PEM private key done: type RSA
> debug1: private host key: #0 type 1 RSA
> debug1: read PEM private key done: type DSA
> debug1: private host key: #1 type 2 DSA
> Disabling protocol version 1. Could not load host key
> sshd: no hostkeys available -- exiting.
>
>
> The configuration file: "sshd_config"
> HostKey c:/ssh/ssh_host_key
> HostDSAKey c:/ssh/ssh_host_dsa_key
> PidFile c:/ssh/sshd.pid
> Protocol 1
>
> PasswordAuthentication yes
> IgnoreRhosts yes
> IgnoreUserKnownHosts yes
> RhostsAuthentication no
> RhostsRSAAuthentication no
>
> Can anyone tell me what is wrong. If I chose Protocol 2 all is working well.
>
> Regards, Leo Meerts
> ============================================================================
> Dr. W. Leo Meerts
> Department of Molecular and Laser Physics
> University of Nijmegen Phone (+31) 24 365 30 23
> P.O. Box 9010 FAX (+31) 24 365 33 11
> NL-6500 GL Nijmegen http://www.sci.kun.nl/mlf/leo_meerts
> The Netherlands E-mail Leo.Meerts@sci.kun.nl
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list