Bug#743434: openssh-client: wildcard host precedence
mailbox@sergio.spb.ru writes:
> Right now wildcarad host '*' takes precedence over all other
> declarations:
> host *
> GSSAPIDelegateCredentials no
> host foo
> GSSAPIKeyExchange yes
> GSSAPIAuthentication yes
> GSSAPIDelegateCredentials yes
The rule, rather, is that the first match takes precedence. You want to
write this as:
host foo
GSSAPIKeyExchange yes
GSSAPIAuthentication yes
GSSAPIDelegateCredentials yes
host *
GSSAPIDelegateCredentials no
and then it should work as you expect. See the first few paragraphs of
the ssh_config man page.
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: