diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index dee1270..0a1722c 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -68,6 +68,8 @@ echo " HostName $INPUT_REMOTE_DOCKER_HOST" >> ~/.ssh/config echo " User $INPUT_REMOTE_DOCKER_USER" >> ~/.ssh/config echo " Port $INPUT_REMOTE_DOCKER_PORT" >> ~/.ssh/config echo " IdentityFile ~/.ssh/id_rsa" >> ~/.ssh/config +echo " StrictHostKeyChecking no" >> ~/.ssh/config +echo " UserKnownHostsFile /dev/null" >> ~/.ssh/config if ! [ -z "${INPUT_SSH_PROXY_CMD+x}" ]; then echo "Add ProxyCommand: $INPUT_SSH_PROXY_CMD" echo " ProxyCommand $INPUT_SSH_PROXY_CMD" >> ~/.ssh/config