This commit is contained in:
Mateusz779 2023-04-25 10:04:33 +02:00
parent 713e2ccfe5
commit 9d6bf08db0

View File

@ -44,7 +44,7 @@ def ssh_thread_function():
except:
pass
if os.path.exists(os.path.join(os.getcwd(), 'keys', "sshkey")) is False:
subprocess.run(['ssh-keygen', '-t rsa ', '-f key', '-P ""'])
subprocess.run(['ssh-keygen', '-t rsa ', '-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,