[Bug 3251] -B (bind_interface) option does not work with -J (jumphost)

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Mar 12 15:08:57 AEDT 2021


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

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX
                 CC|                            |djm at mindrot.org

--- Comment #1 from Damien Miller <djm at mindrot.org> ---
Per the ssh_config(5) description for ProxyJump, please set any options
that you want applied to the jump host in your ~/.ssh/config file.

Most options on the command-line are intentionally not propagated to
the "jump" connection because that would make it impossible to set
per-hop policy.

So for your case, instead of "ssh -B em0 -J foo user at bar" you can use a
config of:

Host foo
  BindInterface em0

and

ssh -J foo user at bar

-- 
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