当前位置: 首页 > 工具软件 > sshxcute > 使用案例 >

java通过sshxcute远程连接linux,指定端口

刘阳舒
2023-12-01

使用 SSHExec.setOption(IOptionName.SSH_PORT_NUMBER, 18);

以下是详细信息:

By default, SSH port number is 22. If the port number of remote system you want to use is not the default value but 18. You can set by the following way:

资料来源:https://gitee.com/charkeyqk/sshxcute

 类似资料: