path: root/geo-replication
diff options
authorM S Vishwanath Bhat <>2015-06-04 17:52:00 +0530
committerVenky Shankar <>2015-08-10 22:54:34 -0700
commit5a8dd6f39ec6a536cf13b2758a754947ded16a23 (patch)
treec8131e4ed840a30366e27cbcf509c4f93e1bcdbe /geo-replication
parent426d28fbd85486d35dc52b0789d94f4e76d03e66 (diff)
gverify: Adding StrictHostKeyChecking=no for ssh verification
Before actually checking the compatibility between master and slave, gverify checks if there is a passwordless ssh connection between master to slave. So if the entry of the slave was not present in 'known_hosts' file in master gverify used to complain that passwordless ssh has not been setup. This used to happen even if there is a passwordless ssh between master to slave. This patch fixes the above problem by using StrictHostKeyChecking=no while doing ssh to slave. Reviewed-on: Change-Id: I01577ffa82a4504b4674fe26a5256ca890777557 BUG: 1231678 Signed-off-by: M S Vishwanath Bhat <> Reviewed-on: Tested-by: NetBSD Build System <> Tested-by: Gluster Build System <> Reviewed-by: Aravinda VK <>
Diffstat (limited to 'geo-replication')
1 files changed, 1 insertions, 1 deletions
diff --git a/geo-replication/src/ b/geo-replication/src/
index e661267..607be4a 100755
--- a/geo-replication/src/
+++ b/geo-replication/src/
@@ -134,7 +134,7 @@ function main()
exit 1;
- ssh -oNumberOfPasswordPrompts=0 $2@$3 "echo Testing_Passwordless_SSH";
+ ssh -oNumberOfPasswordPrompts=0 -oStrictHostKeyChecking=no $2@$3 "echo Testing_Passwordless_SSH";
if [ $? -ne 0 ]; then
echo "FORCE_BLOCKER|Passwordless ssh login has not been setup with $3 for user $2." > $log_file
exit 1;