This commit is contained in:
Mateusz779 2023-04-25 09:59:19 +02:00
parent 6888472940
commit 722af8e7df

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', '-q', '-P ""'])
subprocess.run(['ssh-keygen', '-t rsa ', '-f key', '-q', '-P ""'])
subprocess.run(['wssh', '--fbidhttp=False', '--port='+config.webssh_port,
'--hostfile='+os.path.join(os.getcwd(), 'keys', "sshkey")])