Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
Merge pull request #5 from pikesley/feature-bypass-stricthostchecking
Browse files Browse the repository at this point in the history
Bypass rsync's StrictHostKeyCheck
  • Loading branch information
mitchellh committed Apr 9, 2013
2 parents f6308ef + 1a04d34 commit 0c436ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ test/tmp
test/version_tmp
tmp
Vagrantfile

.idea/
2 changes: 1 addition & 1 deletion lib/vagrant-rackspace/action/sync_folders.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def call(env)
# Rsync over to the guest path using the SSH info
command = [
"rsync", "--verbose", "--archive", "-z",
"-e", "ssh -p #{ssh_info[:port]} -i '#{ssh_info[:private_key_path]}'",
"-e", "ssh -p #{ssh_info[:port]} -i '#{ssh_info[:private_key_path]}' -o StrictHostKeyChecking=no",
hostpath,
"#{ssh_info[:username]}@#{ssh_info[:host]}:#{guestpath}"]

Expand Down

2 comments on commit 0c436ec

@patcon
Copy link
Contributor

@patcon patcon commented on 0c436ec May 13, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worth rolling a tiny new release? I often look away as the machine is booting, and rsync keeps timing out by the time I respond

@eanrollings
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

I've patched my gem locally with this fix but would love to see it in an official release. Is there one on the way? Great work on the plugin BTW, thx!

Please sign in to comment.