首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >SSH协议已被阻塞,我无法访问远程git存储库

问SSH协议已被阻塞,我无法访问远程git存储库
EN

Stack Overflow用户
提问于 2015-03-21 09:28:48
回答 1查看 583关注 0票数 1

我住在伊朗,SSH从昨天起就被屏蔽了;我需要访问bitbucket和github上的git存储库!

接下来的结果是

ssh -v git@github.com

代码语言:javascript
复制
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: Applying options for *
debug1: /etc/ssh_config line 102: Applying options for *
debug1: Connecting to github.com [192.30.252.131] port 22.
debug1: Connection established.
debug1: identity file /Users/me/.ssh/id_rsa type 1
debug1: identity file /Users/me/.ssh/id_rsa-cert type -1
debug1: identity file /Users/me/.ssh/id_dsa type -1
debug1: identity file /Users/me/.ssh/id_dsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.2
debug1: Remote protocol version 2.0, remote software version libssh-0.6.0
debug1: no match: libssh-0.6.0
debug1: SSH2_MSG_KEXINIT sent
    Read from socket failed: Operation timed out

知道我现在能做什么吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-03-21 09:36:26

用HTTPS代替或者..。

获得一个免费的AWS帐户并启动一个微Linux实例。然后,您可以使用它作为GitHub的代理。您将希望使用端口443连接到Lunux服务器,或者对您没有阻塞的东西。如果您在本地运行OS或Linux,请查看SSH配置。

另一种选择是在AWS上打开您与linux服务器之间的VPN或Stunnel。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/29181150

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档