Egit拒绝接受id_rsa [英] Egit Refuses to accept id_rsa
问题描述
我是第一个git用户尝试在Eclipse中设置egit,所以我可以继续轻松地通过Eclipse编写代码。问题是,每当我尝试通过egit克隆一个repo,它给我错误无法列出可用的分支。原因:ssh://git@github.com:22密码为/Users/elifinkelshteyn/.ssh/id_rsa。 这真的很奇怪,因为我可以通过终端使用相同的id_rsa来克隆,而且我已经在Eclipse的ssh属性中验证了它正在尝试使用正确的密钥。什么给了?
I'm a first time git user trying to setup egit in Eclipse so I can continue to easily code through Eclipse. Problem is, every time I try to clone a repo through egit, it gives me the error "Cannot list available branches. Reason: ssh://git@github.com:22 Passphrase for /Users/elifinkelshteyn/.ssh/id_rsa." This is really strange as I can clone through terminal using that same id_rsa just fine, and I've verified in Eclipse ssh properties that it is trying to use the correct key. What gives?
推荐答案
只是为了确认:这是一个当前的错误( issue 353561 )。
密码短语可能仍然是一个问题,具体取决于您在创建键(错误326526 )。
Just to confirm: this is a current bug (issue 353561).
And passphrase might still be a problem depending on the encryption you used when creating your key (bug 326526).
但是,应该支持密码短语(如 Egit用户指南提及)。
However, passphrase are supposed to be supported (as the Egit user guide mentions).
这篇关于Egit拒绝接受id_rsa的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!