bugfixes for cp script
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
This commit is contained in:
parent
99e27a5a63
commit
4e62f3b112
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user