V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
Sponsored by
LinkedIn
不坐班的神仙工作 · 去任何你想去的地方远程,赚一线城市的工资
2000 个不用出门 Social 的全球远程工作,帮助 V2EX 的小伙伴开启全新的工作方式。
Promoted by LinkedIn
aljun
V2EX  ›  问与答

linux 下的 git 时出现 Permission denied (publickey).在线等,急!

  •  
  •   aljun · 2015-07-04 17:55:20 +08:00 · 1709 次点击
    这是一个创建于 2643 天前的主题,其中的信息可能已经有所发展或是发生改变。
    下面是debug代码:
    [email protected]:~/blogtest$ ssh -vT [email protected]
    OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
    debug1: Reading configuration data /etc/ssh/ssh_config
    debug1: /etc/ssh/ssh_config line 19: Applying options for *
    ssh: Could not resolve hostname github.com: Name or service not known
    [email protected]:~/blogtest$ ssh -vT [email protected]
    OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
    debug1: Reading configuration data /etc/ssh/ssh_config
    debug1: /etc/ssh/ssh_config line 19: Applying options for *
    debug1: Connecting to github.com [192.30.252.131] port 22.
    debug1: Connection established.
    debug1: identity file /home/aljun/.ssh/id_rsa type 1
    debug1: identity file /home/aljun/.ssh/id_rsa-cert type -1
    debug1: identity file /home/aljun/.ssh/id_dsa type -1
    debug1: identity file /home/aljun/.ssh/id_dsa-cert type -1
    debug1: identity file /home/aljun/.ssh/id_ecdsa type -1
    debug1: identity file /home/aljun/.ssh/id_ecdsa-cert type -1
    debug1: identity file /home/aljun/.ssh/id_ed25519 type -1
    debug1: identity file /home/aljun/.ssh/id_ed25519-cert type -1
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
    debug1: Remote protocol version 2.0, remote software version libssh-0.7.0
    debug1: no match: libssh-0.7.0
    debug1: SSH2_MSG_KEXINIT sent
    debug1: SSH2_MSG_KEXINIT received
    debug1: kex: server->client aes128-ctr hmac-sha1 none
    debug1: kex: client->server aes128-ctr hmac-sha1 none
    debug1: sending SSH2_MSG_KEX_ECDH_INIT
    debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
    debug1: Server host key: RSA 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48
    debug1: Host 'github.com' is known and matches the RSA host key.
    debug1: Found key in /home/aljun/.ssh/known_hosts:1
    debug1: ssh_rsa_verify: signature correct
    debug1: SSH2_MSG_NEWKEYS sent
    debug1: expecting SSH2_MSG_NEWKEYS
    debug1: SSH2_MSG_NEWKEYS received
    debug1: Roaming not allowed by server
    debug1: SSH2_MSG_SERVICE_REQUEST sent
    debug1: SSH2_MSG_SERVICE_ACCEPT received
    debug1: Authentications that can continue: publickey
    debug1: Next authentication method: publickey
    debug1: Offering RSA public key: /home/aljun/.ssh/id_rsa
    debug1: Server accepts key: pkalg ssh-rsa blen 279
    Agent admitted failure to sign using the key.
    debug1: Trying private key: /home/aljun/.ssh/id_dsa
    debug1: Trying private key: /home/aljun/.ssh/id_ecdsa
    debug1: Trying private key: /home/aljun/.ssh/id_ed25519
    debug1: No more authentication methods to try.
    Permission denied (publickey).
    目前尚无回复
    关于   ·   帮助文档   ·   API   ·   FAQ   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   4545 人在线   最高记录 5497   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 02:44 · PVG 10:44 · LAX 19:44 · JFK 22:44
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.