github 上传遇到问题,以下是 debug 数据

2015-07-04 02:05:50 +08:00
 aljun

aljun@AljunPC:~/blogtest$ ssh -vT git@github.com
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.129] 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).

1719 次点击
所在节点    问与答
5 条回复
KexyBiscuit
2015-07-04 04:00:50 +08:00
检查你的私钥是不是不对。
kslr
2015-07-04 11:18:22 +08:00
Permission denied (publickey). 23333
aljun
2015-07-04 17:58:26 +08:00
对的,昨晚改了好多次,上传ssh,ssh显示了latest used,是绿色那里
aljun
2015-07-04 17:58:44 +08:00
@KexyBiscuit 对的,昨晚改了好多次,上传ssh,ssh显示了latest used,是绿色那里
aljun
2015-07-04 17:58:59 +08:00
@kslr 有什么办法么

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/203218

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX