Access Virtual Machine via PuTTY Using Built-in Command "vagrant ssh"

putty, ssh, vagrant

Solution

There is an official thread for Vagrant here which ended in no result AFAIR. But when googling for "vagrant putty" there seem to exist many plugins for Vagrant bringing that functionality, maybe through "hacks".

For reference: vagrant-multi-putty. Worked for me too on Windows after two simple commands: `vagrant plugin install vagrant-multi-putty` and `vagrant putty` (only for Vagrant 1.1 and newer),

Problem

I have installed Vagrant, PuTTY, PuTTYgen and Virtual Box and I now want to open a SSH connection to my virtual machine with the windows command prompt. Every time I want to open the connection with the `vagrant ssh`command I get this error: ``` vagrant ssh `ssh` executable not found in any directories in the %PATH% variable. Is an SSH client installed? Try installing Cygwin, MinGW or Git, all of which contain an SSH client. Or use the PuTTY SSH client with the following authentication information shown below: ``` I already know about the possibility to install "Git" to solve this problem! I was wondering if its possible to use PuTTY in combination with the command `vagrant ssh` instead of OpenSSH! For example: With a batch file or something to ajust the syntaxes.

Original source