summaryrefslogtreecommitdiff
path: root/local_script
diff options
context:
space:
mode:
authorjerome <jerome@xlinfo.fr>2025-03-25 12:31:24 +0100
committerjerome <jerome@xlinfo.fr>2025-03-25 12:31:24 +0100
commit74bdaf49a5b05666d2199138a294bbc95e348c02 (patch)
tree3cc992b220e2a69f2b45dfb426c9ec14b02018f3 /local_script
parent99ca6914e93b47d46c7a30ce4605c3c8acaba3da (diff)
downloadproxmox_lxc-74bdaf49a5b05666d2199138a294bbc95e348c02.tar.gz
proxmox_lxc-74bdaf49a5b05666d2199138a294bbc95e348c02.zip
bastion SSH
Diffstat (limited to 'local_script')
-rwxr-xr-xlocal_script4
1 files changed, 2 insertions, 2 deletions
diff --git a/local_script b/local_script
index 3994e4f..e48ed99 100755
--- a/local_script
+++ b/local_script
@@ -1,3 +1,3 @@
#!/bin/bash
-ssh-keygen -f ~/.ssh/known_hosts -R $1
-ssh-keyscan -H $1 >> ~/.ssh/known_hosts
+ssh-keygen -f ~/.ssh/known_hosts -R $1 || true
+ssh-keyscan -H $1 >> ~/.ssh/known_hosts || true