-
This commit is contained in:
parent
9b62de7179
commit
5f00355726
2
utils.py
2
utils.py
@ -44,7 +44,7 @@ def ssh_thread_function():
|
|||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
if os.path.exists(os.path.join(os.getcwd(), 'keys', "sshkey")) is False:
|
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 ""'])
|
os.path.join(os.getcwd(), 'keys', "sshkey"), '-P ""'])
|
||||||
while os.path.exists(os.path.join(os.getcwd(), 'keys', "sshkey")) is False:
|
while os.path.exists(os.path.join(os.getcwd(), 'keys', "sshkey")) is False:
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user