mirror of https://github.com/jumpserver/jumpserver
修复交换机小bug
parent
b673fec532
commit
ea973bbb52
|
@ -291,7 +291,7 @@ class Tty(object):
|
||||||
|
|
||||||
# 发起ssh连接请求 Make a ssh connection
|
# 发起ssh连接请求 Make a ssh connection
|
||||||
ssh = paramiko.SSHClient()
|
ssh = paramiko.SSHClient()
|
||||||
ssh.load_system_host_keys()
|
#ssh.load_system_host_keys()
|
||||||
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
|
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
|
||||||
try:
|
try:
|
||||||
role_key = connect_info.get('role_key')
|
role_key = connect_info.get('role_key')
|
||||||
|
|
Loading…
Reference in New Issue