Bad Host Name

From: Anne (apembert_at_hq.nasa.gov)
Date: 05/23/03


Date: 23 May 2003 07:52:40 -0700

Hello, I thought I had ssh configured correctly, but when I go to connect to a
host, I received the message:

SSH Version 1.2.26 [sparc-sun-solaris2.8], protocol version 1.5.
Standard version. Does not use RSAREF.
jasmine: Reading configuration data /etc/ssh_config
jasmine: ssh_connect: getuid 100 geteuid 0 anon 0
Bad host name: "servername"

When I enter it's IP address, it works just fine.

In sshd_config, there are IP addresses for the hosts in Allow Hosts.

I've looked into ssh_config and compared it with other systems, and each line
looks the same.
I've also checked /etc/resolv.conf and /etc/defaultrouter and they contain the
information that they should.

Any ideas, what have I done wrong? I've looked into O'Reilly's SSH book but the
error I'm getting isn't covered in Problems and Solutions.

Anne Pemberton
apembert@hq.nasa.gov



Relevant Pages

  • Bad host name error
    ... Standard version. ... Does not use RSAREF. ... jasmine: Reading configuration data /etc/ssh_config ... Bad host name: "servername" ...
    (SSH)
  • Re: Bad host name error
    ... Anne Marie Pemberton wrote: ... >Standard version. ... Does not use RSAREF. ... Does 'host servername' return the correct IP? ...
    (SSH)
  • Re: Server performance report
    ... I'm running SBS 2003 standard edition, ... Taking out the host ... header information fixed the problem. ...
    (microsoft.public.windows.server.sbs)
  • Re: Newbie question on time()
    ... Context is everything. ... It refers to what happens after control is returned to the host ... It's form is not specified by the standard. ... says it is a successful termination, ...
    (comp.lang.c)
  • Re: overloaded function and (apparently) recursive calls
    ... That looks to me like an error in the standard. ... That's the section on host ... If the host association were blocked in this case, ... that it gives rise to confusions at least in reading the code. ...
    (comp.lang.fortran)