diff options
author | Christian Pointner <equinox@spreadspace.org> | 2017-11-22 23:34:09 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2017-11-22 23:34:09 +0100 |
commit | ddb43fb5860676f7e3292fdd65856572339ebce7 (patch) | |
tree | 68a1f2108c969cb9954d569adcc1029974cda89a /remove-known-host.sh | |
parent | minor cleanup (diff) |
added inital role vm-host
Diffstat (limited to 'remove-known-host.sh')
-rwxr-xr-x | remove-known-host.sh | 2 |
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 |