summaryrefslogtreecommitdiff
path: root/remove-known-host.sh
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2017-11-22 23:34:09 +0100
committerChristian Pointner <equinox@spreadspace.org>2017-11-22 23:34:09 +0100
commitddb43fb5860676f7e3292fdd65856572339ebce7 (patch)
tree68a1f2108c969cb9954d569adcc1029974cda89a /remove-known-host.sh
parentminor cleanup (diff)
added inital role vm-host
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