Is it possible to cache the passphrase for ssh?
Hi,
Don't know if this makes a difference, but I'm using Git. Is there a way to cache the passphrase so I don't have to enter it every time I push or pull my changes to or from the server?
Thanks,
Larry
请先登录再写评论。
Hi Larry,
As far as I understand Passphrase is designed to increase authentication security, thus it is pretty natural to enter it manually or disable it at all.
Regards,
Oleg
Hello Larry,
If you are using MacOS than in RubyMine | Settings | Version Control | Git choose 'Native ssh' client. Passphrase will be asked only once during a session.
Hi Roman,
Thanks for your response. Unfortunately (at least for this situation) I am using Linux (Ubuntu). Do you know of any way to do this in Ubuntu?
I've read about ssh-agent and ssh-add, but am not sure they will work with your IDE. Also figured I'd ask about these commands first in case someone knows the answer - which could possibly save me hours of trying to get something to work that just won't.
Thanks again,
Larry
And what problem exactly have you faced with native ssh on Ubuntu? I've been using it successfully for quite a long time.
Regards,
Oleg
Hi Oleg,
I haven't experienced any problems with it because I haven't tried it ;-) I just didn't want to waste time trying to get it to work with RubyMine if it was impossible.
So... is there a way to get it and RubyMine to play nice so you only have to enter your passphrase once per session?
Thanks,
Larry