X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=deploy%2Fsite%2Fvm%2Fvm.sh;h=13088548ac032c8803ec3b3533625062ce4f9e34;hb=399703d8af1450d60a97308e07819a10c6c0ce7b;hp=477c4934a6cc37e9e735d7bc75e8b276e5ff87c9;hpb=f26e5f2ec686975fd8274f47fd9917264a2d92de;p=icn.git diff --git a/deploy/site/vm/vm.sh b/deploy/site/vm/vm.sh index 477c493..1308854 100755 --- a/deploy/site/vm/vm.sh +++ b/deploy/site/vm/vm.sh @@ -84,7 +84,12 @@ function insert_control_plane_network_identity_into_ssh_config { cat <>${HOME}/.ssh/config Host ${host} IdentityFile ${SCRIPTDIR}/id_rsa + StrictHostKeyChecking no + UserKnownHostsFile /dev/null EOF + # Add the identity to authorized keys on this host to enable ssh + # logins via its control plane address + cat ${SCRIPTDIR}/id_rsa.pub >> ~/.ssh/authorized_keys } function wait_for_all_ready {