Skip to content

Instantly share code, notes, and snippets.

@fadhlirahim
Created October 3, 2011 10:46
Show Gist options
  • Save fadhlirahim/1258879 to your computer and use it in GitHub Desktop.
Save fadhlirahim/1258879 to your computer and use it in GitHub Desktop.
Vagrant capistrano config bit
# Don't forget to run this vagrant command first
# vagrant ssh-config >> ~/.ssh/config
set :user, 'vagrant'
set :run_method, :sudo
role :app, '33.33.33.10'
ssh_options[:keys] = `vagrant ssh_config | grep IdentityFile`.split.last
@thbar
Copy link

thbar commented Dec 13, 2011

Thanks - will definitely use this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment