i.e.: you just got the order backward :)
FYI the ssh_config man page does say:
Since the first obtained value for each parameter is used, more host-spe‐
cific declarations should be given near the beginning of the file, and
general defaults at the end.
On 11/6/19 6:01 PM, Ian
Ken D'Ambrosio writes:
> OK. Feeling kinda dumb. So!
>
> ===
> $ head -6 ~/.ssh/config
> Compression yes
> ForwardX11 yes
> User kdambrosio
>
> Host *.foo.com
>User ken
> ===
> So I've got kdambrosio (my work username) as my default,
OK. Feeling kinda dumb. So!
===
$ head -6 ~/.ssh/config
Compression yes
ForwardX11 yes
User kdambrosio
Host *.foo.com
User ken
===
So I've got kdambrosio (my work username) as my default, however, when I
try to log into bar.foo.com, it's not