Merge pull request #5175 from hdeheer/patch-1
synced/folders/rsync Add 'IdentitiesOnly=yes'
This commit is contained in:
commit
808a86a918
|
@ -65,6 +65,7 @@ module VagrantPlugins
|
||||||
"ssh -p #{ssh_info[:port]} " +
|
"ssh -p #{ssh_info[:port]} " +
|
||||||
proxy_command +
|
proxy_command +
|
||||||
"-o StrictHostKeyChecking=no " +
|
"-o StrictHostKeyChecking=no " +
|
||||||
|
"-o IdentitiesOnly=true " +
|
||||||
"-o UserKnownHostsFile=/dev/null",
|
"-o UserKnownHostsFile=/dev/null",
|
||||||
ssh_info[:private_key_path].map { |p| "-i '#{p}'" },
|
ssh_info[:private_key_path].map { |p| "-i '#{p}'" },
|
||||||
].flatten.join(" ")
|
].flatten.join(" ")
|
||||||
|
|
Loading…
Reference in New Issue