Joined June 2013
·
Posted to
SSH agent forwarding with Vagrant
over 1 year
ago
If you need ssh forward during provisioning there is a fix available here https://github.com/mitchellh/vagrant/issues/1303#issuecomment-20200018
config.vm.provision :shell do |shell|
shell.inline = "touch $1 && chmod 0440 $1 && echo $2 > $1"
shell.args = %q{/etc/sudoers.d/root_ssh_agent "Defaults env_keep += \"SSH_AUTH_SOCK\""}
end
Achievements
111 Karma
0 Total ProTip Views

Raven
Have at least one original repo where some form of shell script is the dominant language

Mongoose 3
Have at least three original repos where Ruby is the dominant language

Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos

Mongoose
Have at least one original repo where Ruby is the dominant language

Philanthropist
Truly improve developer quality of life by sharing at least 50 individual open source projects

Altruist
Increase developer well-being by sharing at least 20 open source projects

Forked
Have a project valued enough to be forked by someone else

Charity
Fork and commit to someone's open source project in need

Cub
Have at least one original jQuery or Prototype open source repo

Honey Badger 3
Have at least three Node.js specific repos

Honey Badger
Have at least one original Node.js-specific repo
This is great. Thanks!