X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=remote%2Fssh-update-known-hosts;fp=remote%2Fssh-update-known-hosts;h=33b75de19a71c1eeb8e54fc8886379e388719f31;hp=0000000000000000000000000000000000000000;hb=3ad6118386977e346d81042e924e5db9c5f15b7d;hpb=22f04b9fac14adc3d3fc98273ba126c3a51792c3 diff --git a/remote/ssh-update-known-hosts b/remote/ssh-update-known-hosts new file mode 100755 index 0000000..33b75de --- /dev/null +++ b/remote/ssh-update-known-hosts @@ -0,0 +1,9 @@ +#!/bin/sh -eux +tool=$(readlink -e "${0%/*}/..") +. "$tool"/remote/lib.sh + +"$tool"/remote/ssh \ + -o CheckHostIP=no \ + -o HashKnownHosts=no \ + -o StrictHostKeyChecking=no \ + whoami