各位,我在windows7下搭建Hexo博客并部署到Github时,前面都没问题,但是执行到ssh -T git@github.com测试连接的时候,出现错误。
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
还请各位大神帮忙看一下,问题出在哪儿了。。。
배포 SSH 키가 구성되지 않았습니다. GitHub로 이동하여 배포 키를 구성하세요
https://help.github.com/articles/geneating-ssh-keys/
으아아아
분명히 구성된 키 디렉토리가 잘못되었습니다.
이 명령을 시도하고 있습니다
으아아아출력이
Hi XXX! You've successfully authenticated, but GitHub does not provide shell access.
이면 문제가 없습니다.