summaryrefslogtreecommitdiff
path: root/remove-known-host.sh
diff options
context:
space:
mode:
Diffstat (limited to 'remove-known-host.sh')
-rwxr-xr-xremove-known-host.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/remove-known-host.sh b/remove-known-host.sh
index 9aecb8e7..d681f0e6 100755
--- a/remove-known-host.sh
+++ b/remove-known-host.sh
@@ -23,7 +23,7 @@ fi
for name in $IP $IP6 $HOST $HOST6 $SHORT; do
- ssh-keygen -f "/home/rhadmin/.ssh/known_hosts" -R "$name"
+ ssh-keygen -f "$HOME/.ssh/known_hosts" -R "$name"
done
exit 0