Sublime Forum

SSH Pass Phrases

#1

Is there a way to cache an ssh pass phrase with sublime merge 2 on windows? I was quite happy to see a Sublime Merge 2 update, but this missing functionality meant that my interest was suddenly deflated by the ‘ssh nag screen’.

0 Likes

#2

That would be at the git level. If you git/env level I believe.

2 Likes

#3

Thanks for your reply @TheSecEng! I have had problems with git and ssh-agent on windows, but just now found out that Windows 10 ships with OpenSSH. I was able to run it as a service and set the GIT_SSH variable to point to ssh.exe that ships with windows. Looks like Sublime Merge likes it!

0 Likes

#4

I’m on OS X and had to figure it out as well. Only reason I am aware of this :slight_smile:

0 Likes

#5

With OSX, can’t you just UseKeychain yes?

0 Likes

#6

Perhaps, I couldn’t get it working. I had to use an ssh-agent.

0 Likes

#7

I believe that should work. I believe I used ssh-add -K which adds the key to your login keychain. Not on mac right now to check tho!

0 Likes

#8

you can also put the path to the git binary in git config --global ssh.corecommand

0 Likes