Eclipse: How to clone git over ssh with keyfile?

Hey, I am using Eclipse (while running Ubuntu 10.10) and would like to connect to a remote git. Normally I would use the egit plugin, but now I need to connect over ssh with keyfile .

Unfortunately egit has no "with keyfile" option, is there a way to connect to my repository with my keyfile? Is there a "hidden" way to make Eclipse to pass parameters (-i keyfile) to ssh or something?


http://wiki.eclipse.org/EGit/User_Guide/Remote - 我必须在“密钥管理”选项卡中手动加载我现有的密钥。


I don't know anything about egit. But what you usually do is:

  • Start ssh-agent (mine is automatically started, when my window manager starts, so you have to google a bit how to setup it)

  • Run ssh-add [your key]

  • Use git over ssh as usual. It won't ask you for any passwords, since ssh-agent takes care of it.
  • HTH

    链接地址: http://www.djcxy.com/p/49744.html

    上一篇: 我可以在实体框架中混合使用每个层次的表和每种类型的表吗?

    下一篇: Eclipse:如何通过密钥文件将sit克隆到ssh上?