From 473e0c6bc0953e803ce6a76a8e37bab63205a588 Mon Sep 17 00:00:00 2001 From: Mateusz779 Date: Tue, 25 Apr 2023 10:08:26 +0200 Subject: [PATCH] - --- utils.py | 1 + 1 file changed, 1 insertion(+) 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 ""'])