mini fix
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good

This commit is contained in:
Robin Müller 2022-05-02 23:51:39 +02:00
parent 074e2d8517
commit 10d0bf1550
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

View File

@ -27,7 +27,7 @@ def prompt_ssh_key_removal():
print("Invalid port detected")
else:
break
cmd = f'ssh-keygen -f "$ {{HOME}}/.ssh/known_hosts" -R "[localhost]:{port}"'
cmd = f'ssh-keygen -f "${{HOME}}/.ssh/known_hosts" -R "[localhost]:${port}"'
print(f"Removing problematic SSH key with command {cmd}..")
os.system(cmd)