且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

ssh:连接到主机heroku.com端口22:连接超时

更新时间:2022-06-09 10:07:58

很可能是某种防火墙问题,或者您的网络管理员已阻止您的网络中的传出端口22。

Most probably some sort of firewall issue or your network admin has blocked outgoing port 22 in your network.

您可以使用简单的凭证通过以下方式查看与Heroku的连接:

You may use simple scrip to see your connection to Heroku by :


$ ssh -vvv git@heroku.com

如果您看到连接超时,那么您可能需要请求您的管理员可以解除阻止端口22.或者,您也可以通过隧道访问Heroku。 port-443/19536371#19536371>使用端口443连接到heroku

If you seeing connect timed out then you may need to request your admin to unblock port 22. Alternatively may access Heroku via tunneling as per my answer in Connecting to heroku using port 443