【发布时间】:2015-10-16 21:17:39
【问题描述】:
我有一个vaprobash Vagrant box 作为我的 Macbook Pro 上的开发机器运行。我有 SQLPro 作为我的 DB GUI,并且有一段时间一切都很好。
我最近更新了 Mac OS,现在我无法将 SQLPro 连接到 Vagrant。据我所知,没有任何改变,但它给出了SSH Tunnel has unexpectedly closed 的错误。如果我查找更多信息,则消息是:
Used command: /usr/bin/ssh -v -N -o ControlMaster=no -o ExitOnForwardFailure=yes -o ConnectTimeout=20 -o NumberOfPasswordPrompts=3 -o TCPKeepAlive=no -o ServerAliveInterval=60 -o ServerAliveCountMax=1 vagrant@192.168.22.10 -L 60673/127.0.0.1/3306 -L 60674/192.168.22.10/3306
Bad local forwarding specification ' 60673/127.0.0.1/3306'
谁能建议发生了什么以及如何解决它?数据库工作正常,我可以通过 ssh 进入盒子并使用数据库——我只是无法通过 SQLPro 连接。
【问题讨论】: