Skip to content
This repository has been archived by the owner on Jul 7, 2020. It is now read-only.

removed host key checking on ssh #568

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion deploy/gk-deploy
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down