Git - fatal error : Agent admitted failure to sign using the key
提交时出现如下问题:
1 git push -u origin master 2 3 Agent admitted failure to sign using the key. 4 Permission denied (publickey). 5 fatal: The remote end hung up unexpectedly
可以使用如下方法解决:
1 ssh-add ~/.ssh/id_rsa
然后重启ssh:
1 restart ssh
posted on 2015-04-02 17:35 Stomach_ache 阅读(172) 评论(0) 编辑 收藏 举报