Page 1 of 1

Git Staging won't accept my SSH passphrase

Posted: Wed May 15, 2019 9:23 pm
by pdenchfield
TortoiseGit accepts my passphrase but the Git Staging add-on in Oxygen Editor does not. Any ideas?


Re: Git Staging won't accept my SSH passphrase

Posted: Thu May 16, 2019 9:11 am
by alex_jitianu

I think this happens because the add-on doesn't recognize the SSH key. There are a couple of things I want to mention about the keys:

1. ED25519 keys - The Git plugin is based on the JGit library which, unfortunately, doesn't support the ED25519 SSH keys. If you are trying to use one, perhaps switch to an RSA [1] key.

2. RSA keys - Again, the JGit library has a problem loading RSA keys that are in the newer OpenSSH format. You can verify if it's in that format by looking at the private key (found in a file named like ~/.ssh/id_rsa) and see if it starts with:


The Gitlab documentation for example advises to generate an RSA SSH key in the OpenSSH format [1] (see the -o parameter):

ssh-keygen -o -t rsa -b 4096 -C ""

But what you should do is to generate it without the -o parameter:

ssh-keygen -t rsa -b 4096 -C ""

Another aspect to consider is that starting with version 7.8, ssh-keygen uses the OpenSSH format by default. If you are using that version or a newer version, you can make it use the previously-used PEM format [2] using the -m parameter:

ssh-keygen -m -t rsa -b 4096 -C ""

[2] ... gen.1#NAME

Please let me know if the keys were the problem.

Best regards,

Re: Git Staging won't accept my SSH passphrase

Posted: Sat May 18, 2019 1:54 am
by pdenchfield
I will work through this after a fresh reinstall due to frequent crashes I'm getting of Oxygen Editor.

Note: My SSH key is set up the same as others on my team, but I'm the only one with this problem.

Re: Git Staging won't accept my SSH passphrase

Posted: Fri May 24, 2019 7:49 pm
by pdenchfield
I have not had time or inclination to investigate further. I uninstalled Git Staging. I'll just rely on TortoiseGit for now, opening files from my Windows File Explorer instead of from Oxygen Editor.

I'll get back to this when our team fully switches over to Oxygen.

Re: Git Staging won't accept my SSH passphrase

Posted: Mon May 27, 2019 8:28 am
by sorin_carbunaru
We have pushed some changes to the Git add-on project, but we have not made an official release yet. These changes should fix the problems with SSH keys, by accepting more types of keys. An unofficial add-on kit can be found at ...

Inside the ZIP file there is a JAR, which should be opened as an archive and then the JAR's content should be extracted in oXygen's "plugins" folder.