Everyone, when I built the Hexo blog under Windows 7 and deployed it to Github, there were no problems before. However, when I executed ssh -T git@github.com to test the connection, an error occurred.
Administrator@WIN-E922JE0THKO MINGW64 /d/hexo
$ ssh -T -v git@github.com
OpenSSH_7.1p1, OpenSSL 1.0.2d 9 Jul 2015
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to github.com [192.30.252.131] port 22.
debug1: Connection established.
debug1: identity file /c/Users/Administrator/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /c/Users/Administrator/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /c/Users/Administrator/ .ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /c/Users/Administrator/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /c/Users/Administrator/ .ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /c/Users/Administrator/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /c/Users/Administrator/ .ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /c/Users/Administrator/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7 .1
ssh_exchange_identification: read: Software caused connection abort
Please help me find out where the problem lies. . .
phpcn_u15822017-05-02 09:29:26
Your deployment SSH-Key is not configured, go to GitHub to configure your deployment Key
https://help.github.com/articles/generating-ssh-keys/
淡淡烟草味2017-05-02 09:29:26
identity file /c/Users/Administrator/.ssh/id_dsa-cert type -1
Obviously the configured key directory is wrong.
You are trying this command
ssh -T git@github.com
If the output is Hi XXX! You've successfully authenticated, but GitHub does not provide shell access.
then there is no problem.