delorie.com/archives/browse.cgi | search |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |