Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有可能连接到Python模块ssh中标准以外的其他端口?port 22Exscript
ssh
port 22
Exscript
如果是这样,如何实现?
浏览文档时找不到任何相关内容。
Protocol.connect(由 继承SSH2)接受一个可选port参数:
Protocol.connect
SSH2
port
conn = SSH2() conn.connect(hostname, 8022)