delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/25/07:13:12

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <5.1.0.14.2.20020425123156.00bcb560@localhost>
X-Sender: leom AT localhost
Date: Thu, 25 Apr 2002 13:11:59 +0200
To: cygwin AT cygwin DOT com
From: Leo Meerts <Leo DOT Meerts AT sci DOT kun DOT nl>
Subject: Problems with protocol 1 from OpenSSH
Mime-Version: 1.0

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 AT 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 DOT Meerts AT sci DOT kun DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019