gpt4 book ai didi

linux - ssh 连接超时

转载 作者:太空狗 更新时间:2023-10-29 11:12:17 25 4
gpt4 key购买 nike

我无法在 git 中通过 ssh 连接到 github 或 bitbucket 或 gitlab。
我通常会收到以下错误消息:如何避免?

==========输出============

ssh -T git@github.com -i ~/.ssh/id_rsa -v
OpenSSH_7.2p2 Ubuntu-4ubuntu2.2, OpenSSL 1.0.2g 1 Mar 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to github.com [192.30.255.113] port 22.
debug1: connect to address 192.30.255.113 port 22: Connection timed out
debug1: Connecting to github.com [192.30.255.112] port 22.
debug1: connect to address 192.30.255.112 port 22: Connection timed out
ssh: connect to host github.com port 22: Connection timed out

最佳答案

ISP 封锁了端口 22。已解决!

关于linux - ssh 连接超时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45518078/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com