On Thu, Feb 08, 2007 at 06:12:25PM -0800, Paul G Rogers wrote:
> On Thu, 8 Feb 2007 08:11:18 -0500 Greg Wooledge <[EMAIL PROTECTED]>
> writes:
> >> Did both.  This is from the workstation's /etc/ssh/ssh_config:
> >> #PGR allow X11 forwarding on local network
> >>  Host *.lan
> >>    ForwardX11 yes
> >
> >And you're actually typing "ssh foobar.lan", then?  Not "ssh foobar"?
> 
> No, it's finding the FQDN from /etc/resolv.conf & /etc/hosts.  That's not
> the problem.  "ssh foobar" does get to the foobar host.

That doesn't matter.  ssh(1) matches what you actually TYPE, not what
the hostname resolves to in DNS.  Example:

imadev:~$ tail -2 .ssh/config
Host vandev.eeg.ccf.org
        User qwerty

imadev:~$ host vandev
vandev.eeg.ccf.org has address 10.76.142.101

imadev:~$ ssh vandev
RSA host key for IP address '10.76.142.101' not in list of known hosts.
[EMAIL PROTECTED]'s password: 
(Ctrl-C)

imadev:~$ ssh vandev.eeg.ccf.org
RSA host key for IP address '10.76.142.101' not in list of known hosts.
[EMAIL PROTECTED]'s password: 
(Ctrl-C)

Reply via email to