Bug 306 - ssh on Tru64 returns " Name does not resolv to supplied parameters"
Summary: ssh on Tru64 returns " Name does not resolv to supplied parameters"
Status: CLOSED WORKSFORME
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: -current
Hardware: Alpha OSF/1
: P2 normal
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-28 00:23 AEST by Jameel Akari
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jameel Akari 2002-06-28 00:23:53 AEST
ssh 3.3p1 and 3.4p1 both exhibit this problem on a Tru64 5.1 box.  When
attempting to ssh to another host:
Name does not resolv to supplied parameters; neither nodename nor servname were
passed.

Doesn't matter what host I try to ssh to, same result.  My DNS works properly,
same result for hosts listed explicitly in /etc/hosts.
Comment 1 Chris Adams 2002-06-28 00:31:57 AEST
I'm not seeing this on Tru64 4.0G or 5.1A with OpenSSH 3.4p1.  What does
"rsh [server]" say?  Are you using IPv6?
Comment 2 Jameel Akari 2002-06-28 01:23:12 AEST
rsh <host> works fine for the one host I can test it for.
I am not using IPv6.

Tru64 machine is running in Enhanced Security mode (SIA), but I don't see how
that should matter here.

I see this in debug output:

[jakari@poptart ~] ssh -v -v frogstar
OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090601f
debug1: Reading configuration data /usr/local/etc/ssh_config
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: ssh_connect: needpriv 0
ssh: frogstar: Name does not resolv to supplied parameters; neither nodename nor
servname were passed.
Comment 3 Chris Adams 2002-06-28 01:42:08 AEST
That is the error I get if I try to ssh to something that doesn't
resolve:

$ ssh xyzzy
ssh: xyzzy: Name does not resolv to supplied parameters; neither nodename nor servname were passed.
$ 

but ssh to hosts that resolve works fine.
Comment 4 Jameel Akari 2002-06-28 02:16:06 AEST
I get the same error either way.  Looks like address reolution is broken
somewhere.  I still have the 2.9p2 binaries and they work fine.

[jakari@poptart ~] host frogstar
frogstar.bithose.com. has address 192.168.1.72

[jakari@poptart ~] ssh frogstar
ssh: frogstar: Name does not resolv to supplied parameters; neither nodename nor
servname were passed.

[jakari@poptart ~] host foobar
Host foobar. not found: 3(NXDOMAIN)

[jakari@poptart ~] ssh foobar
ssh: foobar: Name does not resolv to supplied parameters; neither nodename nor
servname were passed.
Comment 5 Joakim Lübeck 2002-06-29 02:27:28 AEST
I had the same problem, but I figured out that 
getaddrinfo(host, strport, &hints, &aitop)
(in ssh_connect) returns EAI_NONAME if hints.ai_family 
is AF_UNSPEC, even if both host and strport is valid.

If I run configure with --with-ipv4-default then
family is set to AF_INET and everything seems to work.
Comment 6 Jameel Akari 2002-07-01 23:00:56 AEST
Confirmed that ./configure --with-ipv4-default fixes the problem, thanks.
Comment 7 Damien Miller 2004-04-14 12:24:18 AEST
Mass change of RESOLVED bugs to CLOSED