ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy()) ssh.connect(hostname=blip, username=bluser, password=blpasswd)#堡垒机连接#new sessionchannel =ssh.invoke_shell() channel.settimeout(20) buff=''resp=''channel.sendall('telnet'+ hostname +'\n')#发送ssh root@192.168.5.45whilenotbuff....