SSH 协议已被阻止,我无权访问远程 git 存储库
SSH protocol has been blocked and I don't have access to remote git repository
我住在伊朗,SSH 从昨天开始就被封锁了;我需要访问我在 bitbucket 和 github!
上的 git 存储库
结果出来了
ssh -v git@github.com
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
知道我现在可以做什么吗?
改用 HTTPS 或者....
获取免费 AWS 帐户并启动微型 Linux 实例。然后您可以将其用作 GitHub 的代理。您需要使用端口 443 或未被阻止的端口连接到 Lunux 服务器。如果您是本地的 运行 OS X 或 Linux,请查看 SSH 配置。
另一种方法是在您和 AWS 上的 linux 服务器之间打开 VPN 或 Stunnel。
我住在伊朗,SSH 从昨天开始就被封锁了;我需要访问我在 bitbucket 和 github!
上的 git 存储库 结果出来了ssh -v git@github.com
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
知道我现在可以做什么吗?
改用 HTTPS 或者....
获取免费 AWS 帐户并启动微型 Linux 实例。然后您可以将其用作 GitHub 的代理。您需要使用端口 443 或未被阻止的端口连接到 Lunux 服务器。如果您是本地的 运行 OS X 或 Linux,请查看 SSH 配置。
另一种方法是在您和 AWS 上的 linux 服务器之间打开 VPN 或 Stunnel。