在特定网络接口(JSch)上打开SSH连接 [英] Open SSH connection on specific network interface (JSch)
本文介绍了在特定网络接口(JSch)上打开SSH连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何配置JSch客户端使用非默认网络接口进行通信?
How can I configure JSch client to communicate using network interface other than default one?
推荐答案
我不认为它是可能的。我有相同的要求并检查了JSch提供的源代码。创建普通Socket时没有本地地址或端口。
I do not think that it is possible. I have the same requirement and checked the source code provided along with JSch. The plain Socket is created without a local address or port.
这篇关于在特定网络接口(JSch)上打开SSH连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文