macOS升级后,Vagrant挂起

时间:2018-11-28 13:24:28

标签: vagrant

升级到macOS Mojave后,SSH auth method: private key as below:后我的本地游民因超时错误而停止工作

mch1: SSH address: 127.0.0.1:2222
    mch1: SSH username: vagrant
    mch1: 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.
  • 流浪版本:2.2.2
  • VirtualBoxVersion 5.2.22 r126460(Qt5.6.3)

1 个答案:

答案 0 :(得分:0)

很可能是 Mojave 上的新安全功能存在的问题。

请授予控制台应用程序(从那里您流浪了,例如 iTerm2 )对磁盘的完全写入权限

  • 系统偏好设置
  • 安全和隐私
  • 隐私
  • 全盘访问

然后重新启动控制台,然后重试。