diff options
author | EuAndreh <eu@euandre.org> | 2019-06-01 18:05:32 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2019-06-01 18:05:32 -0300 |
commit | 6405205ae04ae98e9a61bbd5acbaeedc2957ed5d (patch) | |
tree | 23b10b2b0adc4cf347c92660f76f18d5eaa9f524 | |
parent | Fix server URL where to download public files from (diff) | |
download | dotfiles-6405205ae04ae98e9a61bbd5acbaeedc2957ed5d.tar.gz dotfiles-6405205ae04ae98e9a61bbd5acbaeedc2957ed5d.tar.xz |
Disable StrictHostKeyCHecking when deleting existing content
-rw-r--r-- | utils.nix | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -94,7 +94,7 @@ in rec { pkgs.writeShellScriptBin "publish.sh" '' set -euo pipefail OUT_DOCS="${docsDerivation}" - ${pkgs.openssh}/bin/ssh "$SERVER_URL" rm -rf "$DOCS_SERVER_PATH/*" + ${pkgs.openssh}/bin/ssh -o StrictHostKeyChecking=no "$SERVER_URL" rm -rf "$DOCS_SERVER_PATH/*" ${pkgs.rsync}/bin/rsync -avzP \ --rsh="ssh -o StrictHostKeyChecking=no" \ "$OUT_DOCS/" \ |