delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/17/18:56:44

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <3923234B.878380D1@vinschen.de>
Date: Thu, 18 May 2000 00:55:07 +0200
From: Corinna Vinschen <corinna AT vinschen DOT de>
Reply-To: cygwin <cygwin AT sourceware DOT cygnus DOT com>
Organization: Cygnus Solutions, a Red Hat Company
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14 i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: Timothee Besset <timothee DOT besset AT ecl1999 DOT ec-lyon DOT fr>
CC: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: [ANNOUNCEMENT] openSSH-1.2.2 for Cygwin 1.1.1
References: <4 DOT 1 DOT 20000517145502 DOT 00a6d6a0 AT spc DOT sugar-land DOT omnes DOT net>
<4 DOT 1 DOT 20000517110713 DOT 00a5e630 AT spc DOT sugar-land DOT omnes DOT net>
<3922CF39 DOT 5CF70197 AT vinschen DOT de>
<4 DOT 1 DOT 20000517145502 DOT 00a6d6a0 AT spc DOT sugar-land DOT omnes DOT net> <4 DOT 1 DOT 20000517152629 DOT 00adbc70 AT spc DOT sugar-land DOT omnes DOT net>

Timothee Besset wrote:
> [...]
> Anyway, my problem is with ssh .. I have more information:
> I'm using NT4 SP4, if I run a "command" shell and type ssh I get:
> C:\>ssh
> ssh: SSH: no address associated with hostname.
> But if I run a "cmd" shell it works fine.

AFAIK, if you start "command" you get a DOS-like
environment which eg. converts names to uppercase
as it's mentioned by Sergey.

The problem is that `ssh' looks if it's called with
argv[0] = one of "ssh", "rsh", "rlogin", "slogin".
I have changed that so that the same names are recognized
if they have a ".exe" suffix. On the other hand the string
compare is case sensitive. So SSH isn't recognized as one
of the above command names.

What's happening now?
If ssh has a unknown name in argv[0], it's assuming that
argv[0] is the name of the host which should be connected
to
   ->  ssh tries to connect to a host named SSH!

Why don't you call ssh from bash or another real shell???

Corinna

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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