标签:miss param client imp nbsp readlines add and tde
python
paramiko
import paramiko ssh = paramiko.SSHClient() key = paramiko.AutoAddPolicy() ssh.set_missing_host_key_policy(key) ssh.connect(‘127.0.0.1‘, 22, ‘user‘, ‘passwd‘ ,timeout=5) stdin, stdout, stderr = ssh.exec_command(‘ls -l‘) for i in stdout.readlines(): print(i)
标签:miss param client imp nbsp readlines add and tde
原文地址:https://www.cnblogs.com/navysummer/p/9560739.html