From 9b62de71799a54d524dc119b9cbc0c754806e97e Mon Sep 17 00:00:00 2001 From: Mateusz779 Date: Tue, 25 Apr 2023 10:15:28 +0200 Subject: [PATCH] - --- utils.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/utils.py b/utils.py index dd27ef2..07ffd28 100644 --- a/utils.py +++ b/utils.py @@ -44,10 +44,11 @@ def ssh_thread_function(): except: pass if os.path.exists(os.path.join(os.getcwd(), 'keys', "sshkey")) is False: - subprocess.run(['ssh-keygen', '-t dsa', '-f '+os.path.join(os.getcwd(), 'keys', "sshkey"), '-P ""']) + subprocess.run(['ssh-keygen', '-t dsa', '-f ' + + os.path.join(os.getcwd(), 'keys', "sshkey"), '-P ""']) while os.path.exists(os.path.join(os.getcwd(), 'keys', "sshkey")) is False: pass - subprocess.run(['wssh', '--fbidhttp=False', '--port='+config.webssh_port, + subprocess.run(['wssh', '--fbidhttp=False', '--port='+config.webssh_port, '--hostfile='+os.path.join(os.getcwd(), 'keys', "sshkey")])