Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

ssh

vagrant

putty

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 sshcommand 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.

like image 229
Knorke Avatar asked Jul 10 '13 12:07

Knorke


1 Answers

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),

like image 152
cmur2 Avatar answered Sep 27 '22 00:09

cmur2