Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-ID: <3923234B.878380D1@vinschen.de>
Date: Thu, 18 May 2000 00:55:07 +0200
From: Corinna Vinschen <corinna@vinschen.de>
Reply-To: cygwin <cygwin@sourceware.cygnus.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.besset@ecl1999.ec-lyon.fr>
CC: cygwin@sourceware.cygnus.com
Subject: Re: [ANNOUNCEMENT] openSSH-1.2.2 for Cygwin 1.1.1
References: <4.1.20000517145502.00a6d6a0@spc.sugar-land.omnes.net>
	 <4.1.20000517110713.00a5e630@spc.sugar-land.omnes.net>
	 <3922CF39.5CF70197@vinschen.de>
	 <4.1.20000517145502.00a6d6a0@spc.sugar-land.omnes.net> <4.1.20000517152629.00adbc70@spc.sugar-land.omnes.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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@sourceware.cygnus.com

