Join GitHub today
SSH Agent forwarding not working during `vagrant provision` on Windows #8415
Host operating system
Windows 7 / 8
Guest operating system
Using Drupal VM for testing, but can use a minimal Vagrantfile with just:
config.ssh.forward_agent = true ... config.vm.provision :shell, :inline => "ssh -Tv firstname.lastname@example.org -o StrictHostKeyChecking=no"
On macOS 10.12 and Linux (tested on Fedora 25), I get:
Steps to reproduce
On my Mac, the exact same provisioner/Vagrantfile successfully connected. On Windows, it seems that the only way currently to get ssh keys inserted during
You can currently get things working by adding your keys to Pageant. But this is annoying and weird (at least to this non-Windows-native user).