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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to