首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >迷航-默认: SSH / auth方法:私钥超时

迷航-默认: SSH / auth方法:私钥超时
EN

Stack Overflow用户
提问于 2017-03-27 18:25:36
回答 1查看 2.5K关注 0票数 1

很难解决这个问题:

我试着“漂泊起来”,一切看起来都很好,直到我到了那个地步:

代码语言:javascript
复制
==> default: The cookbook path 'C:/home/webs/cookbooks' doesn't exist. Ignoring...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
==> default: Forwarding ports...
    default: 80 (guest) => 8081 (host) (adapter 1)
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.

If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.

If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.

If the box appears to be booting properly, you may want to increase
the timeout ("config.vm.boot_timeout") value.

组合:

代码语言:javascript
复制
Vagrant 1.8.7

插件:

代码语言:javascript
复制
vagrant-berkshelf (5.1.1)
vagrant-hostmanager (1.8.5)
vagrant-share (1.1.6, system)
vagrant-triggers (0.5.3)
vagrant-vsphere (1.12.0)

使用:

代码语言:javascript
复制
Oracle Virtual Box v5.1.8
Chef v1.1.16
Windows-7

到目前为止我尝试过的是:

  1. 检查是否启用虚拟化。
  2. 删除以下文件夹:.vagrant.d、.VirtualBox1并再次安装所有插件。
  3. 将gui设置为true运行,我在里面没有看到任何.ssh文件夹。
  4. 关闭防火墙。

我有其他的电脑,有相同的版本,运行良好。这样我才能比较。但我没有更多的线索从这里继续..。

EN

回答 1

Stack Overflow用户

发布于 2017-03-27 21:49:08

找到了一个解决方案:一个名为:的程序阻止了ssh通信的创建,我删除了它,它成功了。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/43053833

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档