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: if refconn:
refconn = await refconn.connect_ssh(host, refconn = await refconn.connect_ssh(host,
username=username, username=username,
known_hosts=None,
password=password, password=password,
port=port) port=port)
else: else:
refconn = await asyncssh.connect(host, refconn = await asyncssh.connect(host,
username=username, username=username,
known_hosts=None,
password=password, password=password,
port=port) port=port)
self.jumper_conns.append(refconn) self.jumper_conns.append(refconn)