我已经安装了Vagrant,PuTTY,PuTTYgen和Virtual Box,我现在想用windows命令提示符打开到我的虚拟机的SSH连接.
每次我想用vagrant ssh命令打开连接时我都会收到此错误:
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:
Run Code Online (Sandbox Code Playgroud)
我已经知道安装"Git"来解决这个问题的可能性!
我想知道是否可以将PuTTY与命令结合使用vagrant ssh而不是OpenSSH!
例如:
使用批处理文件或某些东西来调整语法.
Vagrant 在这里有一个官方帖子,结果没有结果AFAIR.但是当谷歌搜索"流浪腻子"时,似乎存在许多插件,Vagrant带来了这种功能,可能是通过"黑客".
供参考:vagrant-multi-putty.在两个简单的命令之后,在Windows上也为我工作:vagrant plugin install vagrant-multi-putty和vagrant putty(仅适用于Vagrant 1.1和更新版本),
| 归档时间: |
|
| 查看次数: |
3640 次 |
| 最近记录: |