On Thu, Mar 29, 2001 at 08:21:24PM -0500, James R. Van Zandt <[EMAIL PROTECTED]> 
wrote:
> ping uses gethostbyname successfully:
> 
> However, ssh is using getaddrinfo instead, and failing:
>   getservbyname("ssh", "tcp")                       = 0x4020bc1c
>   snprintf("22", 32, "%d", 22)                      = 2
>   getaddrinfo("vanzandt.mv.com", "22", 0xbffff2bc, 0xbfffee94) = -2
>   gai_strerror(-2)                                  = "Name or service not known"

    I'm not sure what this means for fixing the problem, but getaddrinfo is a
new call that supports both IPv6 and IPv4 addresses.  It's possible that you're
having problems trying to resolve the hostname into an IPv6 address.  It's had
to tell without knowing the contents of the last 2 parameters to getaddrinfo.

-- 
Bob Bell <[EMAIL PROTECTED]>
-------------------------------------------------------------------------
 "Where a calculator on the ENIAC is equipped with 18,000 vacuum
  tubes and weighs 30 tons, computers in the future may have only
  1,000 vacuum tubes and weigh only 1.5 tons. "
   -- Popular Mechanics, March 1949

**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to