With paramiko.SSHClient()
, how can I specify the network interface to bind to. I'm referring to this argument in the ssh man page:
-B bind_interface
Bind to the address of bind_interface before attempting to
connect to the destination host. This is only useful on
systems with more than one address.
In other words, I want to ssh like this ssh -B en0 username@192.168.1.1
using paramiko.SSHClient()
.