首先,我尝试将我的VMs放回.vagrant/machines/${name}/virtualbox/id中。运行vagrant status确实看到了VM的启动和运行,但我无法再通过SSH连接。可悲的是,vagrant up (或vagrant up --provision)命令在尝试SSH到vagrant up时被卡住了它不是应该尝试连接到192.168.0.12:2222,吗?master
我已经在流浪者中安装了trusty64,当我试图从vagrant up开始时,我无法通过SSH连接。它说的是SSH时间,但我相信这与SSH连接无关。default: Guest communication could not be established!default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM cu
但是,当我尝试vagrant up时,它会在homestead-7: SSH auth method: private key上挂断,并最终超时发送消息:Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout我的SSH密钥是使用ssh-keygen
ssh: connect to host 127.0.0.1 port 22: Connection refused我查看了我的流浪汉档案,发现了这一行:# accessing "localhost:8080" will access port 80 on the guest machine.config.vm.network "forwarded_port", guest: 80, host: 8080
我