blob: 6fdc85f55864f04369e46ea2e9196118198bf19c (
plain) (
blame)
| 1
2
3
4
5
6
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
 |