【发布时间】:2021-09-17 13:53:13
【问题描述】:
我升级了 Catalina,然后我无法访问我的 github 存储库:
$ ssh -T git@github.com
kex_exchange_identification: Connection closed by remote host
$ ssh -vvv git@github.com
OpenSSH_8.1p1, LibreSSL 2.7.3
debug1: Reading configuration data /Users/XXX/.ssh/config
debug1: /Users/XXX/.ssh/config line 1: Applying options for *
debug1: /Users/XXX/.ssh/config line 6: Applying options for github.com
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 47: Applying options for *
debug1: Connecting to ssh.github.com port 443.
debug1: Connection established.
debug1: identity file /Users/XXX/.ssh/id_rsa type 0
debug1: identity file /Users/XXX/.ssh/id_rsa-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.1
kex_exchange_identification: Connection closed by remote host
这曾经工作得很好。知道如何调试吗?
【问题讨论】:
-
你的公钥还在你的 GitHub 账户里吗?
-
@BenjaminW。是的!