I run Vagrant on Windows and use PuTTY to connect to my VMs. This works fine, and I have saved a profile within PuTTY to connect to my VMs.

Sometimes, I run 3 or 4 Vagrant boxes and therefore I have to have multiple PuTTY profiles for the different ports that Vagrant forwards for SSH access. This requires me to remember the order in which I brought up my VMs.

Is it possible to configure Vagrant so that when I run vagrant ssh, it launches PuTTY and automatically connects to the right VM for the path I'm in?

It seems that Vagrant will use the standard SSH client as long as its called ssh. I'm wondering if the parameters that Vagrant uses are known, so I could create a batch file or something which will translate the parameters to something that is usable by PuTTY.


The following plugin should do the job:


  • Cool, thanks! This plugin isn't working for me as PuTTY is unable to load "C.ppk", but this is definitely on the right trail. – Brad Apr 29 '14 at 16:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.