其中有问题的账户:
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 [email protected] -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.com
debug1: /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
···
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 [email protected] -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.com
debug1: /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
···


