update cp script #237

Merged
meierj merged 3 commits from mueller/update-q7s-cp-script into develop 2022-05-03 13:42:09 +02:00
Showing only changes of commit 10d0bf1550 - Show all commits

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)