windows - 无法通过 SSH 进入 Windows 8 上的 vagrant CentOS box

标签 windows ssh virtualbox vagrant centos6

Vagrant 让我头疼并偷走了我的周末。

我只是无法通过 ssh 进入任何 CentOS 机器。我正在使用此处提供的盒子 http://nrel.github.io/vagrant-boxes/ .与此同时,我还尝试了其他几个 Centos 6.4 盒子,但无济于事。 (这不应该只是工作吗?叹息)

注意!我可以通过 SSH 连接到 Vagrant 入门中提到的基本 Ubuntu 机器 (precise32)。

我正在尝试最简单的 Vagrantfile,只是提供盒子并延长超时时间。

vagrant up 之后,Vagrant 给了我一条很长的不祥消息,它无法启动,并且有很多原因可能导致这种情况。

Vagrant was unable to communicate with the guest machine within the configured ("config.vm.boot_timeout" value) time period. This can mean a number of things.

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.

但是盒子正在运行,所以我尝试使用 Putty 通过 SSH 连接到它,但这也不起作用,我也遇到超时或以下错误:

ssh_exchange_identification: Connection closed by remote host

我不知道这意味着什么,也没有找到任何相关信息。

有没有人知道我为什么会遇到这些问题?有没有人在 Windows 8 上成功使用 CentOS 机器?

最佳答案

这个问题的答案非常有趣。事实证明,我需要在我的 BIOS 设置 中启用虚拟化 :-O 真的吗?真的!

某些较新的 Intel 和 AMD 处理器可以处理 32 位盒,但不能处理 64 位盒。这就是为什么我能够正确启动 precise32 而不是我的 centos 64 盒子。

关于windows - 无法通过 SSH 进入 Windows 8 上的 vagrant CentOS box,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19876883/

相关文章:

linux - 使用 Windows 而不是 Linux 时 UDP 数据包丢失

windows - 如何通过cmd让windows pc休眠

linux - 为什么我在尝试列出 session 时收到来自 tmux 的 "failed to connect to server"消息?

linux - 使用 powershell 将 Linux shell 脚本文件从 Windows 插入到 Linux box

当我尝试销毁厨房实例时,Virtualbox 被锁定

windows - 出 git 控制台 : how do I execute a batch file and then return to git console?

ssh - "nodename nor servname provided"尝试启动 mesos-slave 时

angular - 使用Angular 2启动虚拟机

macos - OSX boot2docker无法连接到docker守护程序