diff options
Diffstat (limited to 'local_testing/scripts/push-keys')
-rwxr-xr-x | local_testing/scripts/push-keys | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/local_testing/scripts/push-keys b/local_testing/scripts/push-keys new file mode 100755 index 0000000..6fdc85f --- /dev/null +++ b/local_testing/scripts/push-keys @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +# Intended to be used in the "control" VM to push keys to the other hosts + +for i in {1..6} ; do + ssh-keyscan 192.168.56.$i >> ~/.ssh/known_hosts + sshpass -p vagrant ssh-copy-id 192.168.56.$i +done |