specific Host not overriding global Host

Ben Lindstrom mouring at eviladmin.org
Sun Mar 21 09:45:07 EST 2010


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.

- Ben

On Mar 20, 2010, at 4:45 PM, Eitan Adler wrote:

> I just inverted the config file - but I still see the VisualHostKey
> 
> On Sat, Mar 20, 2010 at 11:43 PM, Ben Lindstrom <mouring at eviladmin.org> wrote:
>> 
>> It is a first match system.. Put all your specialized Host entries BEFORE this one.
>> 
>> - Ben
>> 
>> On Mar 20, 2010, at 4:41 PM, Eitan Adler wrote:
>> 
>>> My config file contains
>>> 
>>> Host *
>>> VisualHostKey yes
>>> Host app
>>> VisualHostKey no
>>> 
>>> however when I ssh into app I still see the VisualHostKey.
>>> 
>>> It is my understanding that the more specific host should override the
>>> global defaults. When I asked on IRC they told me to report the issue
>>> to this mailing list.
>>> 
>>> I know my version of OpenSSH is old, but I checked bugzilla and did
>>> not see any bug reports about this.
>>> OpenSSH_5.2p1 FreeBSD-20090522, OpenSSL 0.9.8k 25 Mar 2009
>>> _______________________________________________
>>> openssh-unix-dev mailing list
>>> openssh-unix-dev at mindrot.org
>>> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
>> 
>> 



More information about the openssh-unix-dev mailing list