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

This commit is contained in:
yumoqing 2023-12-17 12:21:23 +08:00
commit aeeaaa6e36

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)