problem specifying port to ssh

Don Cohen don-temp28 at isis.cs3-inc.com
Fri Apr 7 14:37:27 EST 2006


Daniel Kahn Gillmor writes:
 > [dkg at squeak ~]$ ltrace -e getaddrinfo ssh fubar
 > getaddrinfo("fubar", "22", 0xbfe30c00, 0xbfe30c64) = -2
 > ssh: fubar: Name or service not known
 > +++ exited (status 255) +++
 > [dkg at squeak ~]$ ltrace -e getaddrinfo ssh -p 22 fubar
 > getaddrinfo("fubar", "22", 0xbfd765f0, 0xbfd76654) = -2
 > ssh: fubar: Name or service not known
 > +++ exited (status 255) +++
 > [dkg at squeak ~]$ ssh -V
 > OpenSSH_4.2p1 Debian-8.dkg1, OpenSSL 0.9.8a 11 Oct 2005
 > [dkg at squeak ~]$ 

 > What does your FC4 version of openssh-4.2p1 do with this library call?

It seems not to call getaddrinfo at all.  Or any of the others
described in the earlier message.

 [root at don-eve tmp]# ltrace -e getaddrinfo ssh -p 22 fubar
 ssh: fubar: Name or service not known

 +++ exited (status 255) +++
 [root at don-eve tmp]# ltrace -e getaddrinfo ssh -p 22 google.com
 --- SIGINT (Interrupt) ---
 +++ killed by SIGINT +++
 [root at don-eve tmp]# ltrace -e getaddrinfo ssh -p 22 isis.cs3-inc.com
 root at isis.cs3-inc.com's password: --- SIGINT (Interrupt) ---




More information about the openssh-unix-dev mailing list