Git kex_exchange_identification: read: Connection reset by peer

Hi, I was just testing my ssh connection with git bash, and git bash terminal reported an error:
$ ssh -T git@github.com
kex_exchange_identification: read: Connection reset by peer
微信图片_20210719113047
I tried to regenerate my ssh key but it doesn’t seem to work. :joy:

If you generate a new key, you’ll have to add the new public key to your account (and ideally remove the old one). For debugging add the -v flag to see where things go wrong:

ssh -vT git@github.com