Merge branch 'master' of git.kaiyuancloud.cn:yumoqing/apppublic

master
yumoqing 2023-12-17 12:21:23 +08:00
commit aeeaaa6e36
1 changed files with 2 additions and 0 deletions

View File

@ -50,11 +50,13 @@ class SSHNode:
if refconn:
refconn = await refconn.connect_ssh(host,
username=username,
known_hosts=None,
password=password,
port=port)
else:
refconn = await asyncssh.connect(host,
username=username,
known_hosts=None,
password=password,
port=port)
self.jumper_conns.append(refconn)