diff --git a/docker-rsync/hosts-clear b/docker-rsync/hosts-clear new file mode 100755 index 0000000..44ae71f --- /dev/null +++ b/docker-rsync/hosts-clear @@ -0,0 +1,5 @@ +#!/bin/sh + +set -euo pipefail + +truncate -s 0 ~/.ssh/known_hosts diff --git a/docker-rsync/hosts-init b/docker-rsync/hosts-init new file mode 100755 index 0000000..d193ff8 --- /dev/null +++ b/docker-rsync/hosts-init @@ -0,0 +1,6 @@ +#!/bin/sh + +set -euo pipefail + +touch ~/.ssh/known_hosts +chmod 600 ~/.ssh/known_hosts