Re: issue with name resolution

From: Darren Tucker (dtucker_at_gate.dodgy.net.au)
Date: 11/29/05


Date: 29 Nov 2005 03:38:06 GMT

On 2005-11-28, gcorani@gmail.com <gcorani@gmail.com> wrote:
> (a) my ssh client do work correctly with ip-addresses, but wrongly with
> hostnames.
> By using ssh <hostname> -v, I discovered that it tries always to
> connect to address 1.0.0.0
> Then, it returns a "connection time out" message

I'm wondering if something along the line is misinterpretting a
"-1" meaning failure as an IP address. Do you have the name service
cache (nscd) running, and if so does stopping it make any difference?

Do you have multiple nameservers listed in /etc/resolv.conf and do they
all work? What SSH software and version is this?

I suspect that strace'ing ssh during the failure will provide a clue as
to where the bogus address is coming from.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


Relevant Pages

  • Re: need rhosts rsa help
    ... >I'm having problems getting RhostsRSAAuthentication working on OpenSSH ... It appears from the client log that it's not even attempting ... Since you're using SSHv1 you need to make the "ssh" binary setuid root ... Good judgement comes with experience. ...
    (comp.security.ssh)
  • Re: sftp problems with 3.9 on HP
    ... >ChallengeResponseAuthentication also set to yes that ssh connects just ... $ ssh -v -s sshserver sftp ... against is not in the system's default library search path (ie ... Good judgement comes with experience. ...
    (comp.security.ssh)
  • Re: SSH Advice
    ... Documentation seems a little scarce so any advice, tips, links, ... but that's still a compatibility layer. ... free native SSH servers for Windows. ... Good judgement comes with experience. ...
    (comp.security.ssh)
  • Re: Restrict account to scp only to user directory.
    ... Although they can't rename anything. ... command over ssh the way it's setup. ... > Good judgement comes with experience. ...
    (comp.security.ssh)
  • Re: SSH and login without password (not passwordless login)
    ... >I have an account that has no password (yes, ... When I try to ssh or scp to it I get the password ... >hit space then enter it lets me in. ... Good judgement comes with experience. ...
    (comp.security.ssh)