SSH passphrase always requested when performing git push
I love the git integration in RubyMine but there is one annoyance. Whenever I 'git push' RubyMine will prompt for my SSH passphrase. I'd like this to be saved or, ideally, to use ssh-agent on my Mac so that it automatically pushes without prompting.
Is this something you might consider?
请先登录再写评论。
The current workaround is to use unencrypted private keys. The problem is caused by using Java implementation of SSH since native implementatio did not work on some platforms.
There is already a similar feature request: http://www.jetbrains.net/jira/browse/IDEADEV-37127. Please watch this request for further progress on the issue.
We are considering to reenable native implementation on platforms where it works.
Hi,
I agree with the original post in that I love your Git integration (that and Cucumber/RSpec support are the main reasons I switched from NetBeans), but find it annoying to always have to enter my passphrase. Two more cents on this topic:
Thanks,
Larry
P.S. BTW, no regrets from leaving NetBeans for RubyMine. Keep up the great work!
Hi Larry,


You can ask RubyMine to use your native SSH agent and passphrase will be asked only once. Which OS do you use?
MacOS instructions:
1. ssh-agent should be installed on your Mac. Leopard has bundled ssh-agent and you needn't install it manually
2. Open RubyMine | File | Settings | Version Control | VCSs | Git tab and choose "Native" SSH executable.
3. Also on MacOS you need add "/usr/bin"($which ssh) folder to your PATH env variable using ~/.MacOSX/environment.plist (see our article Tip: How to setup Environment variables for RubyMine on Mac OS X)
Hi Roman,
Thanks for the reply. I run Ubuntu Linux (9.04) and don't seem to have an SSH Executable option for my Git settings. Does that mean I'm out of luck?
-- Larry
Hi Roman,
I don't have the SSH option on this page. Is there something I need to do to enable it? I'm running RubyMine 1.1 build 975 on OSX Leopard.
Olly
Option is available only in RubyMine 1.5 EAPs - http://www.jetbrains.net/confluence/display/RUBYDEV/RubyMine+EAP