`ssh` executable not found in any directories in the %PATH% variable. | Vagrant Problem Solution

The “executable not found in any directories” vagrant problem can be solved as shown below steps!

Prerequisites: VM VirtualBox, Vagrant, Git, or Cygwin

I already installed vagrant and created a test folder now I can connect using the vagrant ssh command. It’s possible to get the below warning message

`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 your favorite SSH client with the following
authentication information shown below:

Host: 127.0.0.1
Port: 2222
Username: vagrant

The problem can be solved after Installation of Git, open a new terminal, and try again using vagrant ssh

2016-05-31_21-58-46

2016-05-31_21-59-14

Now we have Git on our system (win8) it still doesn’t work and having the same message. We just need  to add the path to Git’s bin (something like “C:\Program Files\Git\bin”)

2016-05-31_22-08-36

Let’s try again

2016-05-31_22-15-35

Thanks,
Onur Yazir.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.