diff --git a/appPublic/sshx.py b/appPublic/sshx.py index e3044ee..f83c465 100644 --- a/appPublic/sshx.py +++ b/appPublic/sshx.py @@ -51,12 +51,14 @@ class SSHNode: refconn = await refconn.connect_ssh(host, username=username, known_hosts=None, + keepalive_interval=60, password=password, port=port) else: refconn = await asyncssh.connect(host, username=username, known_hosts=None, + keepalive_interval=60, password=password, port=port) self.jumper_conns.append(refconn) @@ -70,12 +72,14 @@ class SSHNode: username=username, port=port, password=password, + keepalive_interval=60, known_hosts=None) else: self.conn = await asyncssh.connect(host, username=username, password=password, known_hosts=None, + keepalive_interval=60, port=port) def close(self):