git clone
返回:ssh_exchange_identification: read: Connection reset by peer.
无论我使用gits还是https仓库地址。
我可以连接到远程主机,可以从其他git服务器推送或获取。
谁可以帮助我?谢谢。
这是git测试日志:
ssh -T git@github.com -vvv
OpenSSH_6.9p1, LibreSSL 2.1.8
debug1: Reading configuration data /Users/XXX/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to github.com [192.30.253.112] port 22.
debug1: Connection established.
debug1: identity file /Users/XXX/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/XXX/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/XXX/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/XXX/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/XXX/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/XXX/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/XXX/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/XXX/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.9
ssh_exchange_identification: read: Connection reset by peer
ssh-add -l:
ssh-add -l
2048 SHA256:og75aUEa+XXXXX+CQ6HdvIj8yk6E/A9KFQ /Users/XXX/.ssh/id_rsa (RSA)