`ssh` executable not found in any directories in the %PATH%

前端 未结 6 1959
无人共我
无人共我 2021-01-31 09:09

ERROR:

c:\\Users\\dhawal.vora>vagrant ssh
`ssh` executable not found in any directories in the %PATH% variable. Is an
SSH client installed? Try installing Cyg         


        
6条回答
  •  温柔的废话
    2021-01-31 09:28

    In my case even adding ssh to the PATH didn't solve the problem. What I had to do is connect to vagrant with ssh manually. After executing vagrant up, instead of executing vagrant ssh, I do this:

    ssh vagrant@127.0.0.1 -p 2222
    

    And the password is "vagrant"

    For getting all the information about the ip, port and user you can use

    vagrant ssh-config
    

    Ope this helps somebody...

提交回复
热议问题