If you are using vagrant, you probably-statistically are using git. Make sure you have its binary folder on your path, because that path contains 'ssh.exe'.
Now, modify C:\vagrant\vagrant\embedded\lib\ruby\gems\1.9.1\gems\vagrant-1.0.3\lib\vagrant\ssh.rb
to comment out the faulty Windows check and add a real SSH check:
# if Util::Platform.windows?
# raise Errors::SSHUnavailableWindows, :host => ssh_info[:host],
# :port => ssh_info[:port],
# :username => ssh_info[:username],
# :key_path => ssh_info[:private_key_path]
# end
which = Util::Platform.windows? ? "where ssh >NUL 2>&1" : "which ssh >/dev/null 2>&1"
raise Errors::SSHUnavailable if !Kernel.system(which)
Now you can do vagrant ssh
. Happy camper again!
please help, i'm just starting to learn Drupal 8. I'm stuck in running 'vagrant ssh' command. I'm still getting '
ssh
executable not found in any direct SSH client installed? Try installing Cyg contain an SSH client. Or use your favor authentication information shown below:'. As I read comments above, one recommendation is to set the PATH to '%PATH%;C:\Program Files (x86)\Git\bin' .. However, I check the directory and I've noticed that there's no such ssh.exe file in any directory in my computer. So i was thinking I need to download and install that ssh.exe . I've searched on the internet and downloaded the one from Git.. Now that I've installed it and verified that ssh.exe is now existing in the directory , i've set the path but still stuck in the same error. :(please refer to the attached screenshot
