[Bug 3453] User override in Host not respected

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Jun 29 13:45:50 AEST 2022


Darren Tucker <dtucker at dtucker.net> changed:

           What    |Removed                     |Added
                 CC|                            |dtucker at dtucker.net

--- Comment #1 from Darren Tucker <dtucker at dtucker.net> ---
This is how it's always worked: first match for a specifc keyword wins.
 Quoting ssh_config(5):

     For each parameter, the first obtained value will be used.  The
     ration files contain sections separated by Host specifications,
and that
     section is only applied for hosts that match one of the patterns
given in
     the specification.

If you want to override User, put it at the top of the file.  If you
want to provide a default User, put it at the bottom of the file.

You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.

More information about the openssh-bugs mailing list