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

5 comments
Comment actions Permalink

Hi Larry,

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?

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

0
Comment actions Permalink

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.

0
Comment actions Permalink

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

0
Comment actions Permalink

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

0
Comment actions Permalink

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

0

Please sign in to leave a comment.