[Bug 3833] Setting User with a wildcard Host doesn't work correctly with ProxyJump
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Tue Jun 3 21:58:31 AEST 2025
https://bugzilla.mindrot.org/show_bug.cgi?id=3833
Darren Tucker <dtucker at dtucker.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dtucker at dtucker.net
--- Comment #2 from Darren Tucker <dtucker at dtucker.net> ---
The config file parsing is first-match for each config keyword. You
want overrides at the top and defaults at the bottom, so something like
Host HostA
...
Host HostB
User UserB
ProxyJump HostA
Host *
User UserA
(In reply to Marc Sarrel from comment #0)
[...]
> And this config file on HostA:
Because you're using ProxyJump, the configuration on HostA is not used
in this scenario. The local client makes a request to HostA, then
makes a second request via HostA using a port forwarding request. In
both cases the config on the local client (the Mac) is used.
--
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