From 90ea8b03fd87c57208c08812654ff5bdd5c76c38 Mon Sep 17 00:00:00 2001 From: surtur Date: Sun, 8 Mar 2020 06:14:16 +0100 Subject: [PATCH] force pubkey authentication --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 55321f7..1155762 100644 --- a/.drone.yml +++ b/.drone.yml @@ -39,7 +39,7 @@ steps: - hugo --gc=true --minify - echo "$hugo_key" > hugo_deploy - chmod -v 600 hugo_deploy #hellyeah - - rsync -ave 'ssh -i ./hugo_deploy -c aes256-ctr,aes256-cbc -o StrictHostKeyChecking=no' --delete public/ $hugo_user@$hugo_host:$hugo_dir + - rsync -ave 'ssh -i ./hugo_deploy -o PreferredAuthentications=publickey -o PasswordAuthentication=no -c aes256-ctr,aes256-cbc -o StrictHostKeyChecking=no' --delete public/ $hugo_user@$hugo_host:$hugo_dir - shred -zuv 7 hugo_deploy || true when: status: