Joined June 2013
·

Noah Isaacson

Colorado
·
·

This is great. Thanks!

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