diff --git a/remote.sh b/remote.sh index 78eb1dd..11a11a9 100644 --- a/remote.sh +++ b/remote.sh @@ -41,6 +41,8 @@ else echo "SAFE_PASSWORD for $SERVER_HOST not found" fi +cd /data/install + echo "Reset known_hosts..." ssh-keygen -f '/root/.ssh/known_hosts' -R $SERVER_HOST