diff --git a/utils.py b/utils.py index 7d6d86d..8d32cb5 100644 --- a/utils.py +++ b/utils.py @@ -43,6 +43,7 @@ def ssh_thread_function(): os.mkdir(os.path.join(os.getcwd(), 'keys')) except: pass + print(os.path.exists(os.path.join(os.getcwd(), 'keys', "sshkey"))) if os.path.exists(os.path.join(os.getcwd(), 'keys', "sshkey")) is False: print(os.path.join(os.getcwd(), 'keys', "sshkey")) subprocess.run(['ssh-keygen', '-t rsa ', '-f '+os.path.join(os.getcwd(), 'keys', "sshkey"), '-P ""'])