multiprocessing import Process, Pool
import paramiko
import sys,os
host_list = (
('192.168.1.91', 'root...','654321',123456),
('192.168.1.93', 'root', '654321',123456),
)
s = paramiko.SSHClient() #绑定实例...username,password,timeout=5) #连接远程主机
stdin,stdout,stderr=s.exec_command('echo %s | passwd --stdin root