From 55d455cc6e7636a443a21c877953c7ab4b109620 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sun, 8 Aug 2021 17:53:15 +0200 Subject: [PATCH 1/2] fixup! e53ee2c5fa2421d6d5ccab9df5de2f82f3bf1c2f --- Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile b/Makefile index c96641f..01e2098 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,6 @@ deploy: then echo "Missing one of SSH_USER, SSH_HOST, or SSH_TARGET" >&2; \ exit 1; \ fi - env mkdir -p ~/.ssh/ touch ~/.ssh/known_hosts ssh-keygen -R "$$SSH_HOST" From ff6f01534e4d34ffd9fd2d99539a4e3a9bb9440f Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sun, 8 Aug 2021 17:53:15 +0200 Subject: [PATCH 2/2] fixup! fixup! e53ee2c5fa2421d6d5ccab9df5de2f82f3bf1c2f --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 01e2098..4a5eae4 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ deploy: fi mkdir -p ~/.ssh/ touch ~/.ssh/known_hosts - ssh-keygen -R "$$SSH_HOST" + ssh-keygen -R "$$SSH_HOST" -f ~/.ssh/known_hosts ssh-keyscan "$$SSH_HOST" >> ~/.ssh/known_hosts rsync -e "ssh -o StrictHostKeyChecking=no" --progress -avz --delete public/ "$$SSH_USER@$$SSH_HOST:$$SSH_TARGET"