From 81b43ab96ebceb1f0e7e79444b4e1eab5795ad4a Mon Sep 17 00:00:00 2001 From: Taylor <7576958+TaylorChristie@users.noreply.github.com> Date: Tue, 5 Mar 2019 10:10:15 -0700 Subject: [PATCH] removed host key checking on ssh Removed host key checking requirements so we can automate this process completely. --- deploy/gk-deploy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/gk-deploy b/deploy/gk-deploy index 8cf5b40e..7f91c4a3 100755 --- a/deploy/gk-deploy +++ b/deploy/gk-deploy @@ -676,7 +676,7 @@ if [[ "${EXECUTOR}" == "ssh" ]]; then fi # shellcheck disable=SC2029 # I want this parsed client-side - ssh "${SSH_USER}@${node}" -q -i "${SSH_KEYFILE}" -C "${sudocmd}gluster volume status" >/dev/null 2>&1 + ssh "${SSH_USER}@${node}" -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -q -i "${SSH_KEYFILE}" -C "${sudocmd}gluster volume status" >/dev/null 2>&1 if [[ ${?} -ne 0 ]]; then output "Can't access glusterd on '${node}'" exit 1