summaryrefslogtreecommitdiff
path: root/local_script
diff options
context:
space:
mode:
Diffstat (limited to 'local_script')
-rwxr-xr-xlocal_script3
1 files changed, 3 insertions, 0 deletions
diff --git a/local_script b/local_script
new file mode 100755
index 0000000..3994e4f
--- /dev/null
+++ b/local_script
@@ -0,0 +1,3 @@
+#!/bin/bash
+ssh-keygen -f ~/.ssh/known_hosts -R $1
+ssh-keyscan -H $1 >> ~/.ssh/known_hosts