修复交换机小bug

This commit is contained in:
ibuler
2015-12-31 22:37:01 +08:00
parent b673fec532
commit ea973bbb52

View File

@@ -291,7 +291,7 @@ class Tty(object):
# 发起ssh连接请求 Make a ssh connection
ssh = paramiko.SSHClient()
ssh.load_system_host_keys()
#ssh.load_system_host_keys()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
try:
role_key = connect_info.get('role_key')