diff --git a/utils.py b/utils.py index 07ffd28..ca86370 100644 --- a/utils.py +++ b/utils.py @@ -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 dsa', '-f ' + + 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