From cab2567a0b71b2b915ab0b438c842c36f91bcd03 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Mon, 26 Mar 2018 18:26:08 -0400 Subject: [PATCH] Setup Script - Specify SSH key --- so-setup-network.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/so-setup-network.sh b/so-setup-network.sh index 4fa804762..a4c9aa558 100644 --- a/so-setup-network.sh +++ b/so-setup-network.sh @@ -112,9 +112,9 @@ configure_sensor_pillar() { copy_ssh_key() { # Generate and copy SSH key - cat /dev/zero | ssh-keygen -t rsa -q -N "" + cat /dev/zero | ssh-keygen -f /root/so.key -t rsa -q -N "" #Copy the key over to the master - ssh-copy-id socore@$MASTER + ssh-copy-id -i /root/so.key socore@$MASTER } create_bond() {