简体   繁体   English

“ vagrant up” ssh超时,但是“ vagrant ssh”在

[英]“vagrant up” ssh times out, but “vagrant ssh” works immediately after

I have this weird problem where "vagrant up" times out: 我有一个奇怪的问题,其中“无所事事”超时:

$ vagrant up
...
default: SSH username: vagrant
default: SSH auth method: private key
Timed out while waiting for the machine to boot.

but "vagrant ssh" works: 但是“ vagrant ssh”有效:

$ vagrant ssh
...
vagrant@vagrant-ubuntu-trusty-64:~$

I have tweaked my "config.vm.boot_timeout" to an absurdly high number just to make sure that isn't the issue. 我已经将“ config.vm.boot_timeout”调整为一个非常高的数字,以确保这不是问题。

I'm not sure how to debug this. 我不确定如何调试它。 I've read a bunch of articles demonstrating how to get ssh working with vagrant, but if that were my problem then "vagrant ssh" shouldn't work, right? 我读过很多文章,展示了如何使ssh与vagrant一​​起工作,但是如果这是我的问题,那么“ vagrant ssh”应该不起作用,对吗? Why does "vagrant up" not work? 为什么“无助”不起作用?

我不确定问题出在哪里,但是生成一个新的密钥对已经解决了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM