原因是22端口被防火牆屏蔽,具體是哪個防火牆尚未找到,可以參考官方的建議配置~/.ssh/config,來使用備用服務器端口。
Host gitlab.com Hostname altssh.gitlab.com User git Port 443 PreferredAuthentications publickey IdentityFile ~/.ssh/id_rsa
原因是22端口被防火牆屏蔽,具體是哪個防火牆尚未找到,可以參考官方的建議配置~/.ssh/config,來使用備用服務器端口。
Host gitlab.com Hostname altssh.gitlab.com User git Port 443 PreferredAuthentications publickey IdentityFile ~/.ssh/id_rsa
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。