This commit is contained in:
yumoqing 2023-12-16 19:53:59 -05:00
parent 0feae81eb8
commit 77851c9d14

View File

@ -48,11 +48,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)