This commit is contained in:
yumoqing 2025-04-14 15:21:25 +08:00
parent bced0d4f28
commit 96a5237d7d

View File

@ -75,7 +75,7 @@ class XtermProcessor(PythonScriptProcessor):
self.sshnode = SSHNode(host, username=username,
password=password,
port=port,
client_keys=[] if client_key is None or [client_key],
client_keys=[] if client_key is None else [client_key],
passphrase=passphrase,
jumpers=jumpers)
await self.sshnode.connect()