如何在远程系统上使用python的ssh模块启动应用程序?我试过了
from shh import SSHClient
client = SSHClient()
client.load_system_host_keys()
client.connect("192.168.12.130", username="user", password="password")
stdout = client.exec_command('/path/to/application/app')
print "pwd: ", stdout.readlines()
但似乎不起作用。。换句话说,我想在远程系统上启动一个c++应用程序,并访问std::outstream。欢迎其他解决方案
目前没有回答
相关问题 更多 >
编程相关推荐