From 7e5391c0f536a0aa7cebc03664098f4fb990384e Mon Sep 17 00:00:00 2001 From: Hubert Date: Mon, 12 Jan 2015 15:19:43 +0100 Subject: [PATCH] synced/folders/rsync Add 'IdentitiesOnly=yes' Added IdentiesOnly=yes to avoid "Too Many Authentication Failures" error --- plugins/synced_folders/rsync/helper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/synced_folders/rsync/helper.rb b/plugins/synced_folders/rsync/helper.rb index bc7f6d116..c5bf8cbda 100644 --- a/plugins/synced_folders/rsync/helper.rb +++ b/plugins/synced_folders/rsync/helper.rb @@ -65,6 +65,7 @@ module VagrantPlugins "ssh -p #{ssh_info[:port]} " + proxy_command + "-o StrictHostKeyChecking=no " + + "-o IdentitiesOnly=true " + "-o UserKnownHostsFile=/dev/null", ssh_info[:private_key_path].map { |p| "-i '#{p}'" }, ].flatten.join(" ")