This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Feb 1 13:54 Corinna Vinschen wrote
On Feb 1 09:12, Ola Stromfors wrote:Hi, After upgrading openssh from 6.4p1-1 to 6.5p1-1, ssh to host names listed in /etc/hosts fails. /etc/hosts is actually a symlink to /cygdriv/c/Windows/system32/drivers/etc/hosts.Not sure that's the actual reason. getaddrinfo is a WinSock call which, probably, never ignores its hosts file.% ssh centaur getaddrinfo: (null): Name or service not known ssh: connect to host centaur port 22: No such file or directory(null) is the replacement string when printf'ing a NULL pointer as string. So it seems ssh called getaddrinfo with a NULL pointer for node and service. Can you call `ssh -vvv centaur' and see if the debug output gives some clue as to what happens?
With openssl 6.4 I got this ssh -vvvv centaur OpenSSH_6.4, OpenSSL 1.0.1f 6 Jan 2014 debug1: Reading configuration data /home/olast/.ssh/config debug1: /home/olast/.ssh/config line 55: Applying options for centaur debug2: ssh_connect: needpriv 1 debug1: Connecting to centaur [192.168.0.254] port 22. debug1: Allocated local port 1023. debug1: Connection established. ... With openssl 6.5 I got this ssh -vvvv centaur OpenSSH_6.5, OpenSSL 1.0.1f 6 Jan 2014 debug1: Reading configuration data /home/olast/.ssh/config debug1: /home/olast/.ssh/config line 55: Applying options for centaur debug2: ssh_connect: needpriv 1 debug1: Connecting to centaur [192.168.0.254] port 22. getaddrinfo: (null): Name or service not known ssh: connect to host centaur port 22: No such file or directory I then started to comment out different lines in my .ssh/config file. The line that caused the problem was UsePrivilegedPort yes After removing that lines I got this ssh -vvvv centaur OpenSSH_6.5, OpenSSL 1.0.1f 6 Jan 2014 debug1: Reading configuration data /home/olast/.ssh/config debug1: /home/olast/.ssh/config line 55: Applying options for centaur debug2: ssh_connect: needpriv 0 debug1: Connecting to centaur [192.168.0.254] port 22. debug1: Connection established. ... /Ola -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |