scp:使用特定的网卡

rɑː*_*dʒɑ 6 networking ssh scp openssh

我试图通过特定的网卡执行 scp 。

我阅读了SCP 手册页,但找不到所需的标志。

Mar*_*ryl 6

使用BindAddress或使用switchBindInterface选项。-o

例如:

scp -o BindAddress=x.x.x.x ...
Run Code Online (Sandbox Code Playgroud)