This is for the Windows-based SysAdmin and DevOps folks that use Vagrant for testing and development and prefer PuTTY as their SSH client.
Only three steps required!
- Add PuTTY to your system PATH. This automatically happens if you use the PuTTY Windows MSI installer.
- Download and install Vagrant for Windows. Update it if you need to.
- Install the nickryand/vagrant-multi-plugin for Vagrant.
Once you start your vagrant project (vagrant up
) and your VMs are running, all you need to do is execute vagrant putty <hostname>
to use PuTTY as your SSH client.
For example, in one of my new projects I have a vagrant host named elasticmaster1
.
I stared up my vagrant project, waited for the VMs to start, then I executed
vagrant putty elasticmaster1
...
![](https://www.dissmeyer.com/content/images/2020/01/image-1.png)
Vagrant connects to the VM and launches the SSH session in PuTTY!
![](https://www.dissmeyer.com/content/images/2020/01/image-2.png)
With this plugin there is no further customization needed and makes the testing and dev workflow much more efficient.
-Joey D