I'm trying to SSH from my home device to end host via jump host using the ProxyJump option of OpenSSH.
Jump host happens to have two IP addresses bound to its only interface: x.x.x.x and y.y.y.y. There is a firewall with a whitelist of IPs that are permitted ssh access to end host. y.y.y.y is on the list but x.x.x.x is not.
Problem is, the default on jump host is to use x.x.x.x for outbound SSH.
If I manually ssh from jump host to end host I can override the default with OpenSSH’s -b option, like ssh -b y.y.y.y endhost. This works fine.
However when trying to get directly from my personal device to endhost using jumphost as the intermediate I can’t seem to make it work. I’ve tried a few variations on specifying bind address is my ~/.ssh/config but no luck.
Is there a way to instruct the jump host to use a specific bind address?