github ssh 验证出错

浏览:35日期:2023-09-22

问题描述

$ ssh -T -v git@github.comOpenSSH_6.6.1, OpenSSL 1.0.1m 19 Mar 2015debug1: Connecting to github.com [192.30.253.113] port 22.debug1: Connection established.debug1: identity file /c/Users/Administrator/.ssh/id_rsa type 1debug1: identity file /c/Users/Administrator/.ssh/id_rsa-cert type -1debug1: identity file /c/Users/Administrator/.ssh/id_dsa type -1debug1: identity file /c/Users/Administrator/.ssh/id_dsa-cert type -1debug1: identity file /c/Users/Administrator/.ssh/id_ecdsa type -1debug1: identity file /c/Users/Administrator/.ssh/id_ecdsa-cert type -1debug1: identity file /c/Users/Administrator/.ssh/id_ed25519 type -1debug1: identity file /c/Users/Administrator/.ssh/id_ed25519-cert type -debug1: Enabling compatibility mode for protocol 2.0debug1: Local version string SSH-2.0-OpenSSH_6.6.1debug1: Remote protocol version 2.0, remote software version libssh-0.7.debug1: no match: libssh-0.7.0debug1: SSH2_MSG_KEXINIT sentdebug1: SSH2_MSG_KEXINIT receiveddebug1: kex: server->client aes128-ctr hmac-sha1 nonedebug1: kex: client->server aes128-ctr hmac-sha1 nonedebug1: sending SSH2_MSG_KEX_ECDH_INITdebug1: expecting SSH2_MSG_KEX_ECDH_REPLYdebug1: Server host key: RSA 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:adebug1: Host ’github.com’ is known and matches the RSA host key.debug1: Found key in /c/Users/Administrator/.ssh/known_hosts:2debug1: ssh_rsa_verify: signature correctdebug1: SSH2_MSG_NEWKEYS sentdebug1: expecting SSH2_MSG_NEWKEYSdebug1: SSH2_MSG_NEWKEYS receiveddebug1: Roaming not allowed by serverdebug1: SSH2_MSG_SERVICE_REQUEST sentdebug1: SSH2_MSG_SERVICE_ACCEPT receiveddebug1: Authentications that can continue: publickeydebug1: Next authentication method: publickeydebug1: Offering RSA public key: /c/Users/Administrator/.ssh/id_rsadebug1: Authentications that can continue: publickeydebug1: Trying private key: /c/Users/Administrator/.ssh/id_dsadebug1: Trying private key: /c/Users/Administrator/.ssh/id_ecdsadebug1: Trying private key: /c/Users/Administrator/.ssh/id_ed25519debug1: No more authentication methods to try.Permission denied (publickey).

问题解答

回答1:

后缀你改了但是里面没有修改,id_rsa后缀都改回rsa就行了!

相关文章: