其中有问题的账户:
1. 公匙已正确添加, htts 可以访问;
2. 连接报错
···
ssh_exchange_identification: Connection closed by remote host
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
···
3. ssh git@github.com -vT 测试有问题的输出:
···
OpenSSH_6.9p1, LibreSSL 2.1.8
debug1: Reading configuration data /Users/hzchen/.ssh/config
debug1: /Users/hzchen/.ssh/config line 7: Applying options for
github.comdebug1: /Users/hzchen/.ssh/config line 13: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 20: Applying options for *
debug1: /etc/ssh/ssh_config line 102: Applying options for *
debug1: Connecting to
github.com [192.30.253.112] port 22.
debug1: Connection established.
debug1: identity file /Users/hzchen/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/hzchen/.ssh/id_rsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.9
ssh_exchange_identification: Connection closed by remote host
···
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
https://www.v2ex.com/t/309397
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.