读书人

Github 报错 How to solve “agent ad

发布时间: 2013-03-19 17:22:05 作者: rapoo

Github 报错 How to solve “agent admitted failure to sign using the key” error ?
$ ssh -vT git@github.com# ...# Agent admitted failure to sign using the key.# debug1: No more authentication methods to try.# Permission denied (publickey).

$ ssh-add# Enter passphrase for /home/you/.ssh/id_rsa: [tippy tap]# Identity added: /home/you/.ssh/id_rsa (/home/you/.ssh/id_rsa)?

?

If your key does not have the default filename, you'll have to pass the path to ssh-add

?

$ ssh-add ~/.ssh/my_other_key# Enter passphrase for /home/you/.ssh/my_other_key: [tappity tap tap]# Identity added: /home/you/.ssh/my_other_key (/home/you/.ssh/my_other_key)
?

?

?来源: https://help.github.com/articles/error-agent-admitted-failure-to-sign

?

?

?

读书人网 >网络基础

热点推荐