Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: cygwin 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 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> 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 AT sourceware DOT cygnus DOT com