Sublime Forum

Sublime merge not able to use ssh keys, everything else is

#1

Hello,

I am trying to set up the interactions between sublime-merge and my remote git repo. I have generated an ssh key pair which I know authenticates and functions. Both Tortoise git and bit-bash work with my key pair. Sublime merge, however, asks asks for a password whenever I try and push (the key is not password protected, and neither Tortoise git or git-bash ask for one), and then fails when I leave the password field empty. Specifically failing as "

Load key “/c/Users/jason.arbour/.ssh/id_rsa”: invalid format
Permission denied, please try again.
Permission denied, please try again.
jarbour@adlc0z.on.bell.ca: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

"

I am on Windows 10. The key pair was originally generated with PuTTY. I manually changed the format of the public key, and used PuTTYgen to regenerate the private key to conform to OpenSSH. Both keys are stored in /c/Users/[me]/.ssh, as “id_rsa” and “id_rsa.pub”.

“echo $GIT_SSH” in git-bash yeilds “C:\Program Files\TortoiseGit\bin\TortoiseGitPlink.exe”.

Any thoughts?

0 Likes

#2

Problem solved: was saving new keys into the wrong folder.

FFR:

0 Likes