From 5af9ddb2e5799cae7568a04bf1af2b326f1e5820 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 19 Jan 2025 21:47:18 +0800 Subject: [PATCH] bugfix --- ahserver/websocketProcessor.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ahserver/websocketProcessor.py b/ahserver/websocketProcessor.py index 353f777..ec28b67 100644 --- a/ahserver/websocketProcessor.py +++ b/ahserver/websocketProcessor.py @@ -60,9 +60,11 @@ class XtermProcessor(PythonScriptProcessor): port = login_info.get('port', 22) username = login_info.get('username', 'root') password = login_info.get('password',None) + jumpers = login_info.get('jumpers', []) self.sshnode = SSHNode(host, username=username, password=password, - port=port) + port=port, + jumpers=jumpers) await self.sshnode.connect() self.p_obj = await self.sshnode._process('bash', term_type='vt100',