specific Host not overriding global Host
Damien Miller
djm at mindrot.org
Sun Mar 21 20:28:33 EST 2010
On Sun, 21 Mar 2010, Eitan Adler wrote:
> On Sun, Mar 21, 2010 at 12:45 AM, Ben Lindstrom <mouring at eviladmin.org> wrote:
> >
> > You're going to have to give us an example of your file and what you're typing then. Mind you the Host command is pretty pick. IF you stated:
> >
> > Host foo
> >
> > and you are typing "ssh foo.bar.com" there will be no match.
>
>
> === config file ===
> Host example.com
> VisualHostKey no
>
> Host *
> VisualHostKey yes
I can't replicate this. Using 5.4 and localhost instead of example.com,
"ssh -ouserknownhostsfile=/dev/null localhost" shows no visual hostkey,
while "ssh -ouserknownhostsfile=/dev/null 127.0.0.1" does.
Nothing else uncommented in /etc/ssh_config.
-d
More information about the openssh-unix-dev
mailing list