From 486c9a1de8157bfdd3b31493fd28bdbab88ef687 Mon Sep 17 00:00:00 2001 From: Mateusz779 Date: Tue, 25 Apr 2023 10:17:04 +0200 Subject: [PATCH] - --- utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils.py b/utils.py index ca86370..de77175 100644 --- a/utils.py +++ b/utils.py @@ -44,7 +44,8 @@ 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 ' + + sshalgo = "rsa" + subprocess.run(['ssh-keygen', '-t '+sshalgo, '-f ' + os.path.join(os.getcwd(), 'keys', "sshkey"), '-P ""']) while os.path.exists(os.path.join(os.getcwd(), 'keys', "sshkey")) is False: pass