[Bug 2869] New: ProxyJump does not directly support clearing previous declarations
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Fri May 18 03:56:20 AEST 2018
https://bugzilla.mindrot.org/show_bug.cgi?id=2869
Bug ID: 2869
Summary: ProxyJump does not directly support clearing previous
declarations
Product: Portable OpenSSH
Version: 7.6p1
Hardware: All
OS: Mac OS X
Status: NEW
Severity: enhancement
Priority: P5
Component: ssh
Assignee: unassigned-bugs at mindrot.org
Reporter: chris at improbable.org
If you're using ProxyCommand a subsequent match can set "ProxyCommand
none" to clear the previous setting. This is useful with wildcards:
Host bastion.example.org
ProxyCommand none
Host *.example.org
ProxyCommand ssh bastion.example.org -W %h:%p
ProxyJump doesn't have a documented way to accomplish the same effect.
If you know that it is currently implemented internally as a shortcut
to construct a ProxyCommand you can clear it:
Host bastion.example.org
ProxyCommand none
Host *.example.org
ProxyJump bastion.example.org
It would be friendlier if ProxyJump supported "none" (currently it just
passes that value through as the hostname) for symmetry but in either
case the main benefit would probably be documenting this.
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list