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

Bug#743434: openssh-client: wildcard host precedence and CanonicalizeHostname






2014-04-04 12:43 GMT+04:00 sergio <mailbox@sergio.spb.ru>:
On 04/04/2014 11:11 AM, Alexander Volkov wrote:

> The answer you need was in the first letter - change the order of
> blocks in local config. Even after rereading foo matches the first
> block that has no delegate option.


The order doesn't matter as:

> This is simply not true due to the above.  ~/.ssh/config is parsed
> before /etc/ssh/ssh_config, and so you can perfectly well override the
> system-wide configuration file in a per-user configuration file.

I mean that you have two blocks in ~/.ssh/config: one is "host *", the second is "host foo".
When this config is parsed second time with "foo" domain, the first block ("host *") matches and the parser never goes further.
In the first letter you have been answered to change the order - from "host *... host foo..." to "host foo... host *…".
 


--
sergio.


--
To UNSUBSCRIBE, email to debian-ssh-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 533E7095.50809@sergio.spb.ru" target="_blank">https://lists.debian.org/[🔎] 533E7095.50809@sergio.spb.ru




--
Alexander Volkov
senior java architect and developer, engineer

mob: +79215283540      
skype: v2003_2003@mail.ru

Reply to: