Sublime Forum

How can I get SM to remember my SSH Key Passphrase?

#1

I use both Windows and Mac versions of Sublime Merge. I’ve installed SSH keys on both machines and they function almost identically, but my Windows version of Sublime Merge doesn’t remember my SSH Key Passphrase. I have to enter it each time I perform any command:

passphrase

How can I get Sublime Merge in Windows to remember my SSH password? The only thing I found in Preferences that remotely resembles that feature is SSH Path, which points to
C:\Windows\System32\OpenSSH\ssh.exe … Does that have something to do with it?

1 Like

#2

Hi @marquizzo,

Thanks for reaching out to us!

To cache your SSH credentials, please take a look at our Authenticating via SSH guide here:
https://www.sublimemerge.com/docs/getting_started#authentication

Please feel free to send any questions you have with the above information, and I’ll be more than happy to help!

Thanks,
- Dylan

1 Like

#3

Thanks for the guide! I tried following the steps, and under Windows: Setting up Putty, step 2-3 says:

  1. Once installed, open PuTTYGen and select Conversions > Import Key.
  2. Select your existing RSA key (likely found at ~/.ssh/id_rsa.pub)

But when I select the .pub file, I get the following error:
puttygenError

It looks like PuTTYgen is expecting a private key. When I select the private id_rsa file (without .pub), then it does ask for my password and it populates a lot of fields. Am I following these steps incorrectly?

Edit: I have PuTTYgen release 0.73, do you think that might be the issue?

0 Likes

#4

I’m fairly certain you should be using the private key (id_rsa) in PuTTYGen.

@djohnston, I think the docs need updating.

2 Likes