【发布时间】:2021-05-16 16:17:27
【问题描述】:
我使用 Git for Windows (v2.30.1) 创建了一个 ed25519 ssh 密钥
ssh-keygen -t ed25519 -C “<github email>” 每个 this github doc 和 added it to my account。我使用ssh -T git@github.com 验证了它可以从 Git CMD 运行。
要将其加载到 Eclipse(v2020-12;EGit v5.11)中,我去了这里:Preferences --> SSH2 --> Key Management --> Load Existing Key...
对于私钥和公钥,我收到此错误failed to load given file。 EGit v5.4+ "supports" an ed25519 key,但我找不到关于如何进入 Eclipse 的说明 (expected them here)。谷歌搜索错误没有帮助。
如何在 eclipse 中使用我的 ed25519 密钥?
【问题讨论】:
-
您是否在 General 选项卡的 General > Network Connections > SSH2 的首选项中添加了私钥(如EGit help/documentation 中所述)?
-
@howlger 你的评论让我更近了一步。我已经在密钥管理选项卡上(已生成 RSA 密钥)并尝试从那里加载现有密钥。在常规选项卡中,我成功添加了我的 ed25519 密钥。现在收到我正在调查的连接错误...
标签: git eclipse github ssh-keys