Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-Id: <3.0.5.32.20031030202558.00828400@incoming.verizon.net>
X-Sender: vze1u1tg@incoming.verizon.net
Date: Thu, 30 Oct 2003 20:25:58 -0500
To: cygwin@cygwin.com
From: "Pierre A. Humblet" <Pierre.Humblet@ieee.org>
Subject: Re: Segmentation Fault of ssh3.7.1 with cygwin1.5.5-1 in W95
In-Reply-To: <20031030095229.GM1653@cygbert.vinschen.de>
References: <3.0.5.32.20031029214604.0082b8c0@incoming.verizon.net>
 <200310291905.h9TJ5eG5028353@pion.ivic.ve>
 <3.0.5.32.20031029214604.0082b8c0@incoming.verizon.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

At 10:52 AM 10/30/2003 +0100, Corinna Vinschen wrote:
>
>Ouch.  I see why that happens.  I'll have to modify the ssh-host-config
>script.
>
>This is no problem on 98/Me and NT, though.  Did you also test with
>ssh/22 lines with CRLF?

Yes, it works. However there must be something new in 1.5 that causes 
the lack of CR to cause a crash on Win95.

I tried your new script, and ssh did not crash. I thought that was great
until I realized that the script did not write the ssh lines in services:

*******************
Olivier@erg ~
$ fgrep ssh /cygdrive/c/windows/services

Olivier@erg ~
$ ssh-host-config
Overwrite existing /etc/ssh_config file? (yes/no) no
Overwrite existing /etc/sshd_config file? (yes/no) no
Added ssh to /cygdrive/c/WINDOWS/SERVICES

Host configuration finished. Have fun!

Olivier@erg ~
$ fgrep ssh /cygdrive/c/windows/services

Olivier@erg ~
*******************

Also on my Win98 machine I had /var/log/lastlog as a directory.
I think that's legal, at least for ssh, but 

~: ssh-host-config
Creating /var/log/lastlog failed\!

Pierre


--
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/

