[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SSH (testing) FYI



On Mon, May 14, 2001 at 09:53:38PM +0100, Colin Watson wrote:
> dmaziuk@yola.bmrb.wisc.edu wrote:
> >Just FYI: ssh-2.5.2p2-2.1 does not understand that hostname and
> >hostname.domain refer to the same server. You might want to 
> >edit your ~/.ssh/known_hosts and change hostnames to
> >hostname,hostname.domain ...
> >Otherwise ssh will happily put in duplicate lines for short and
> >FQDN hostnames.
> 
> I thought this had been the case for much longer than that - I saw it at
> least as far back as when potato was unstable. You could add blocks like
> this to ~/.ssh/config if you like:
> 
> Host foo
>         HostName foo.example.com

Well, it should have been the case (arguably, ssh shouldn't trust resolver 
when it says "foo" and "foo.localdomain" are the same host).
However it wasn't: I had 
  host.domain,ip.addr ... 
in my known_hosts and "ssh host" worked with that. Until today's upgrade of 
ssh. 

Dima
-- 
E-mail dmaziuk at bmrb dot wisc dot edu (@work) or at crosswinds dot net (@home)
http://www.bmrb.wisc.edu/descript/gpgkey.dmaziuk.ascii -- GnuPG 1.0.4 public key
We're sysadmins. Sanity happens to other people.         -- Chris King in asr



Reply to: