[Bug 3833] Setting User with a wildcard Host doesn't work correctly with ProxyJump

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Jun 4 12:37:00 AEST 2025


https://bugzilla.mindrot.org/show_bug.cgi?id=3833

Darren Tucker <dtucker at dtucker.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WORKSFORME
             Status|NEW                         |RESOLVED

--- Comment #4 from Darren Tucker <dtucker at dtucker.net> ---
It's always worked this way.  Quoting ssh_config(5):

  Unless noted otherwise, for each parameter, the  first  obtained 
value
  will  be  used.   The configuration 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.  The matched
host
  name   is   usually  the  one  given  on  the  command  line  (see 
the
  CanonicalizeHostname option for exceptions).

  Since the first obtained value for each parameter is used,  more 
host-
  specific  declarations  should be given near the beginning of the
file,
  and general defaults at the end.

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


More information about the openssh-bugs mailing list