Bug 520927 - Consider switching ssh implementation
Summary: Consider switching ssh implementation
Status: RESOLVED FIXED
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: 4.8   Edit
Hardware: All All
: P3 enhancement with 5 votes (vote)
Target Milestone: 5.2   Edit
Assignee: Thomas Wolf CLA
QA Contact:
URL:
Whiteboard:
Keywords: noteworthy
Depends on: 540652
Blocks: 541392 541272 541273 541274 541275
  Show dependency tree
 
Reported: 2017-08-13 16:47 EDT by Marcel Möhring CLA
Modified: 2020-04-22 10:09 EDT (History)
13 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel Möhring CLA 2017-08-13 16:47:37 EDT
ed25519 is becoming more and more mainstream and there is still no sign of Jsco implementing it. There is a feature request, which is from 2015 and no sign of someone reading it. (https://sourceforge.net/p/jsch/feature-requests/7/)

There is an other implementation at https://github.com/hierynomus/sshj
which supports ed25519.
It seems to be an old GSOC Project which was labeled as "SSH and SCP for Apache Commons-Net".(old repo: https://code.google.com/archive/p/commons-net-ssh/)

I'm in no way affiliated with any of these implementations or implementors. I just searched for alternative after several hours of debugging when trying to connect to a git repo via ssh and an ed25519 key.
Comment 1 Christer Boberg CLA 2018-02-19 06:19:20 EST
+1 for this feature. It would be highly appreciated!
Comment 2 Urs Lange CLA 2018-04-26 02:34:40 EDT
+1 We switched from rsa to ed25519 keys completely.
Comment 3 Thomas Wolf CLA 2018-06-28 15:12:11 EDT
Apache Mina sshd would be another candidate. An older version is in Orbit already, but Jgit should probably synchronize with Gerrit on the version and version range.

Note that ECDSA keys also don't work; see https://www.eclipse.org/forums/index.php/t/1093889/ .
Comment 4 Richard Birenheide CLA 2018-06-29 01:55:12 EDT
I'll chime in with a +1 as well. RSA comes under more scrutiny from the security community. Not only will it suffer when using Shor's algorithm becomes feasible. As well any implementation is more complicated and error prone compared to ECDSA and ed25519. Therefore the latter are more favorable.
Comment 5 Richard Birenheide CLA 2018-06-29 02:34:53 EDT
As Thomas suggested, one can use the GIT_SSH environment variable to point to an ssh executable. 

One can use the executable which comes with msysgit (Git for Windows): <path to msysgit>/usr/bin/ssh.exe. I assume on Windows most of the users have this installed.
Comment 6 Thomas Wolf CLA 2018-09-26 06:27:35 EDT
I'll give this a try. But it's a lot of work; so don't hold your breath.

Steps involved:

 1. Implement ssh tests using a simple Apache MINA sshd git server.
 2. Test the Jsch ssh implementation against that.
 3. Get rid of JSch dependencies in the OpenSsh config file parser.
 4. Get rid of Jsch dependencies in TransportSftp.
 5. Re-implement a SshSessionFactory based on the chosen new ssh client
    library.
 6. Test that using the same ssh tests.
 7. Provide an option in the JGit command-line commands to choose the ssh
    implementation (probably defaulting to JSch for the time being).
 8. Once we're satisfied with the stability of the new ssh implementation,
    switch the default.

That's only for JGit. For Egit, more has to be done once we have step 6 completed. We need to provide a bundle that integrates the new ssh implementation in JGit with Eclipse.

 9. Read preferences from the org.eclipse.jsch preferences to configure the new
    SshSessionFactory accordingly.
10. Add listeners to the org.eclipse.jsch preference nodes to be able to react
    to changes in the General->Network Connections->SSH2 preference page and
    reconfigure the new SshSessionFactory accordingly.
11. Provide a user preference for switching the ssh implementation between
    JSch (default) and the new one(switching is just installing a new
    SshSessionFactory instance).

We might set the default implementation for EGit nightly to the new one, and decide before we release whether we can ship it, or whether we should still use JSch as default.

At that point we could then start thinking about how to support ed25519, which
means getting Bouncy Castle into Eclipse (it's already in Orbit, and would be needed for signed commits, too?).

Step (1) requires having a modern Apache MINA sshd in Orbit. At that point, there's only be a test dependency on it.

Before step (5) starts, we should decide which library to use. I'm aware of three serious candidates:

* Apache MINA sshd:[1], bugtracker at [2], source on Apache[3] mirrored to
  Github[4]. APL 2.0. 2 main developers; project is actively maintained.
  Comes with the recommendation that at least its server part is good enough
  to be used in Gerrit :-) so hopefully the client code should also work
  well. Latest version on maven central 2.0.0; Github shows a 2.1.0... claims
  to be able to handle ed25519 if Bouncy Castle is present. (Can't handle yet
  encrypted ed25519 private keys, though). Also seems to rely on
  net.i2p.crypto.eddsa 0.3.0 for ed25519 support (optional dependency).[5]
* sshj:[6] Basically one developer (project originator appears to be no longer
  active). Latest version 0.26.0. Contains some crypto code (custom
  implementation of Curve25519 and a copy of org.mindrot.jbcrypt 0.2 -- maven
  has 0.4 with an ISC license[7]). Depends on net.i2p.crypto.eddsa 0.2.0
  and on com.jcraft.jzlib. After a quick glance, I didn't see any support for
  reading ~/.ssh/config, so we'd have to use our own (existing).
* ganymede:[8] was originally developed at ETH Zurich by a single developer,
  but appears to be abandoned. There is a fork[9], but that looks equally
  unmaintained. License looks BSD-style, but is a bit confusing (3 different
  licenses, and apparently some Bouncy Castle code included).

[1] https://mina.apache.org/sshd-project/
[2] https://issues.apache.org/jira/projects/SSHD/issues/?filter=allopenissues
[3] https://git-wip-us.apache.org/repos/asf?p=mina-sshd.git;a=summary
[4] https://github.com/apache/mina-sshd
[5] https://search.maven.org/artifact/net.i2p.crypto/eddsa/0.3.0/bundle
[6] https://github.com/hierynomus/sshj
[7] https://opensource.org/licenses/isc-license
[8] https://github.com/maxd/ganymed-ssh-2/issues/55
[9] https://github.com/hudson/ganymed-ssh-2

I'd say ganymede is out since unmaintained. sshj might be candidate; would have to try it, but I'm wary of the crypto code and license review for getting it into Orbit.

IMO the best bet is Apache MINA sshd.

Conflicts with the Apache MINA sshd version used in Gerrit can be avoided if we implement the JGit SSH support based on Apache MINA sshd in a separate bundle that Gerrit just doesn't install. So no new dependencies on the core org.eclipse.jgit bundle.

I do have a working prototype up to and including step (6) above using Apache MINA sshd. (Still needs a lot of clean-up work -- it's just a prototype.) But before we can go on with this, we need to get a modern Apache MINA sshd into Orbit (it currently has only 0.7.0).

Needed:

* sshd-core 2.0.0: https://search.maven.org/artifact/org.apache.sshd/sshd-core/2.0.0/jar
* sshd-stfp 2.0.0: https://search.maven.org/artifact/org.apache.sshd/sshd-sftp/2.0.0/jar
* For ed25519 support (optional): net.i2p.crypto.eddsa 0.3.0: https://search.maven.org/artifact/net.i2p.crypto/eddsa/0.3.0/bundle

Bouncy Castle is already in Orbit.

Just in case sshd 2.1.0 appears on maven and we'd like to go with that: then we'd also need sshd-common 2.1.0. If I've seen this right they've factored out some common stuff into a separate artifact.
Comment 7 Thomas Wolf CLA 2018-09-26 06:35:55 EDT
I forgot: sshd-core and sshd-sftp are needed in Orbit already for step (1). Having ssh tests is a must before we implement something new.
Comment 8 Matthias Sohn CLA 2018-09-26 12:39:23 EDT
Thanks for working on this.

I agree to your conclusion that we should go for mina. Apache is a proper home, the project is maintained by more than 1 person (we have been bitten with jsch where the only maintainer disappeared and we have no repository we could fork) and server-side works for Gerrit, AFAIK there were also some contributions from Gerrit developers so community seems to also work.

I can create the necessary CQs and care for the Orbit bundles.
Just need to decide on the versions.

Bouncycastle we also need for signed commits/tags/pushes. That was the reason why I added it to orbit.
Comment 9 Thomas Wolf CLA 2018-09-26 13:27:45 EDT
(In reply to Matthias Sohn from comment #8)

> I can create the necessary CQs and care for the Orbit bundles.

That'd be great. As I wrote above, we'd need org.apache.sshd:sshd-core:2.0.0 and org.apache.sshd:sshd-sftp:2.0.0. Both have no further required dependencies except org.slf4j. That one, however, is needed in version 1.7.25. In Orbit I see only 1.7.10... I wonder if that causes trouble.

If you could also already start a CQ for net.i2p.crypto:eddsa:0.3.0 that'd be great. We won't need it until we start doing ed25519, but then we will need it.
It's an optional dependency of sshd-core.

> Just need to decide on the versions.

I did my prototype with sshd 2.0.0. It appears that Gerrit master also uses this.[1] Maybe one of the Gerrit devs could confirm; but as I wrote above, I don't think it matters if it's done outside of our core org.eclipse.jgit bundle.

I still don't see any 2.1.0 in the maven repos, despite [2]. So I'd suggest we go with 2.0.0

[1] https://gerrit.googlesource.com/gerrit/+/master/WORKSPACE#780
[2] https://github.com/apache/mina-sshd/releases/tag/sshd-2.1.0
Comment 10 Matthias Sohn CLA 2018-09-26 17:53:29 EDT
(In reply to Thomas Wolf from comment #9)
> I still don't see any 2.1.0 in the maven repos, despite [2]. So I'd suggest
> we go with 2.0.0
> 
> [1] https://gerrit.googlesource.com/gerrit/+/master/WORKSPACE#780
> [2] https://github.com/apache/mina-sshd/releases/tag/sshd-2.1.0

I just sent this question to the mina mailing list [3]

[3] https://www.mail-archive.com/users@mina.apache.org/msg06621.html
Comment 11 Thomas Wolf CLA 2018-10-02 05:53:24 EDT
(In reply to Matthias Sohn from comment #10)
> [3] https://www.mail-archive.com/users@mina.apache.org/msg06621.html

2.1.0 is available now on maven, but it seems they introduced a split package with that: [1]

So probably best to stick with 2.0.0 for now?

[1] https://issues.apache.org/jira/browse/SSHD-847
Comment 12 Matthias Sohn CLA 2018-10-02 07:52:00 EDT
(In reply to Thomas Wolf from comment #11)
> (In reply to Matthias Sohn from comment #10)
> > [3] https://www.mail-archive.com/users@mina.apache.org/msg06621.html
> 
> 2.1.0 is available now on maven, but it seems they introduced a split
> package with that: [1]
> 
> So probably best to stick with 2.0.0 for now?

yes, I'll create the CQ for 2.0.0.

> [1] https://issues.apache.org/jira/browse/SSHD-847
Comment 13 Matthias Sohn CLA 2018-10-04 11:09:39 EDT
I filed the following CQs for sshd and dependencies

[CQ 17799] Apache Mina sshd-core 2.0.0
http://dev.eclipse.org/ipzilla/show_bug.cgi?id=17799

[CQ 17801] Apache Mina sshd-sftp 2.0.0
http://dev.eclipse.org/ipzilla/show_bug.cgi?id=17801

[CQ 17804] EdDSA-Java 0.3.0
http://dev.eclipse.org/ipzilla/show_bug.cgi?id=17804
Comment 14 Thomas Wolf CLA 2018-10-15 17:21:02 EDT
(In reply to Matthias Sohn from comment #13)
> I filed the following CQs for sshd and dependencies
> 
> [CQ 17799] Apache Mina sshd-core 2.0.0
> http://dev.eclipse.org/ipzilla/show_bug.cgi?id=17799
> 
> [CQ 17801] Apache Mina sshd-sftp 2.0.0
> http://dev.eclipse.org/ipzilla/show_bug.cgi?id=17801
> 
> [CQ 17804] EdDSA-Java 0.3.0
> http://dev.eclipse.org/ipzilla/show_bug.cgi?id=17804

The first two are approved. With those two in Orbit we could do a full-fledged sshd client except for the ed25519 support.
Comment 15 Matthias Sohn CLA 2018-10-15 17:40:22 EDT
yep, also CQ CQ 17851 and 17852 for Orbit were approved. 
I'll try to find time this week.
Comment 16 Matthias Sohn CLA 2018-10-15 18:54:35 EDT
pushed
https://git.eclipse.org/r/#/c/130955/
https://git.eclipse.org/r/#/c/130956/
for review
Comment 17 Thomas Wolf CLA 2018-10-21 11:37:03 EDT
My prototype now includes everything up to and including step 11 from comment 6.

I forgot one step:

12. Implement proxy support for sshd

sshd has _no_ built-in client-side proxy code. There's one interface for it, but no implementations, and in general that bit looks like it was never actually used. Since we need to support HTTP(S) and SOCKS5 proxies, we'll have to roll our own implementations of the ClientProxyConnector interface. :-( It's a bit of work to get this right. I see currently only ways to do HTTP and SOCKS. I see no way to dynamically select between SOCKS5 and SOCKS4, nor do HTTPS, or SOCKS5 with SSL auth.

JSch has code to support HTTP proxies with basic auth, and SOCKS5 proxies with user/password auth.

An additional problem is that I don't know how I could test an implementation for this.
Comment 18 Thomas Wolf CLA 2018-10-22 16:17:15 EDT
[CQ 17804] EdDSA-Java 0.3.0
http://dev.eclipse.org/ipzilla/show_bug.cgi?id=17804

is approved, too!
Comment 19 Matthias Sohn CLA 2018-10-22 17:40:13 EDT
(In reply to Thomas Wolf from comment #18)
> [CQ 17804] EdDSA-Java 0.3.0
> http://dev.eclipse.org/ipzilla/show_bug.cgi?id=17804
> 
> is approved, too!

will look into this.
I'll also try to grab Gunnar at EclipseCon to educate me on the open ends with adding mina to Orbit
Comment 20 Thomas Wolf CLA 2018-10-25 06:03:24 EDT
BTW: note that eddsa-java contains a JCE SecurtityProvider that sshd will try to register. I think that means the bundle must be signed like we do for the bouncy castle bundles, otherwise we'll get certificate problems. Don't know if the eddsa-java maven artifact already is properly signed.
Comment 21 Thomas Wolf CLA 2018-10-29 08:44:40 EDT
(In reply to Thomas Wolf from comment #17)
> My prototype now includes everything up to and including step 11 from
> comment 6.
> 
> I forgot one step:
> 
> 12. Implement proxy support for sshd

Done now, too. HTTP and SOCKS5 proxies.

> An additional problem is that I don't know how I could test an
> implementation for this.

And tested with ssh -D (SOCKS5, anonymous), tinyproxy (HTTP, anonymous), and 3proxy (HTTP + SOCKS5, with username-password auth (known as Basic auth in HTTP)).
Comment 22 Matthias Sohn CLA 2018-10-31 05:18:26 EDT
You can use this new target platform "jgit-4.10-latest-I.target" which uses the latest Orbit I-build until it gets promoted to a S-build:

https://git.eclipse.org/r/#/c/131725/
Comment 23 Matthias Sohn CLA 2018-11-02 15:12:10 EDT
latest Orbit I-build including the following fixes

- https://git.eclipse.org/r/#/c/131829/ 
Add missing : in optional dependency of org.apache.sshd.core
- https://git.eclipse.org/r/#/c/131827/ 
Relax JavaSE requirement for org.apache.sshd.*
- https://git.eclipse.org/r/#/c/131828/ 
Relax JavaSE requirement for net.i2p.crypto.eddsa

is now available here
http://download.eclipse.org/tools/orbit/downloads/drops/I20181102163257/
Comment 24 Eclipse Genie CLA 2018-11-02 18:39:55 EDT
New Gerrit change created: https://git.eclipse.org/r/131879
Comment 25 Eclipse Genie CLA 2018-11-02 18:39:58 EDT
New Gerrit change created: https://git.eclipse.org/r/131882
Comment 26 Eclipse Genie CLA 2018-11-02 18:40:01 EDT
New Gerrit change created: https://git.eclipse.org/r/131880
Comment 27 Eclipse Genie CLA 2018-11-02 18:40:05 EDT
New Gerrit change created: https://git.eclipse.org/r/131883
Comment 28 Eclipse Genie CLA 2018-11-02 18:40:08 EDT
New Gerrit change created: https://git.eclipse.org/r/131886
Comment 29 Eclipse Genie CLA 2018-11-02 18:40:11 EDT
New Gerrit change created: https://git.eclipse.org/r/131884
Comment 30 Eclipse Genie CLA 2018-11-02 18:40:14 EDT
New Gerrit change created: https://git.eclipse.org/r/131890
Comment 31 Eclipse Genie CLA 2018-11-02 18:40:17 EDT
New Gerrit change created: https://git.eclipse.org/r/131888
Comment 32 Eclipse Genie CLA 2018-11-02 18:40:20 EDT
New Gerrit change created: https://git.eclipse.org/r/131889
Comment 33 Eclipse Genie CLA 2018-11-02 18:40:23 EDT
New Gerrit change created: https://git.eclipse.org/r/131887
Comment 34 Eclipse Genie CLA 2018-11-02 18:40:26 EDT
New Gerrit change created: https://git.eclipse.org/r/131885
Comment 35 Eclipse Genie CLA 2018-11-02 18:40:29 EDT
New Gerrit change created: https://git.eclipse.org/r/131891
Comment 36 Eclipse Genie CLA 2018-11-02 18:40:32 EDT
New Gerrit change created: https://git.eclipse.org/r/131892
Comment 37 Eclipse Genie CLA 2018-11-02 18:43:46 EDT
New Gerrit change created: https://git.eclipse.org/r/131893
Comment 38 Eclipse Genie CLA 2018-11-06 07:57:57 EST
Gerrit change https://git.eclipse.org/r/131880 was merged to [master].
Commit: http://git.eclipse.org/c/jgit/jgit.git/commit/?id=cc000f93a84b22e692a9c234486978703fdb8f30
Comment 39 Eclipse Genie CLA 2018-11-06 07:58:01 EST
Gerrit change https://git.eclipse.org/r/131879 was merged to [master].
Commit: http://git.eclipse.org/c/jgit/jgit.git/commit/?id=08b0a8632d54a24d92075b94d0b0134b69146ba2
Comment 40 Eclipse Genie CLA 2018-11-13 15:04:10 EST
Gerrit change https://git.eclipse.org/r/131883 was merged to [master].
Commit: http://git.eclipse.org/c/jgit/jgit.git/commit/?id=0173b25415fb334490396a2fa4150db888c56947
Comment 41 Eclipse Genie CLA 2018-11-13 15:04:13 EST
Gerrit change https://git.eclipse.org/r/131882 was merged to [master].
Commit: http://git.eclipse.org/c/jgit/jgit.git/commit/?id=705691ee517900d3359868212a50d4dc7f048245
Comment 42 Eclipse Genie CLA 2018-11-13 20:08:53 EST
Gerrit change https://git.eclipse.org/r/131884 was merged to [master].
Commit: http://git.eclipse.org/c/jgit/jgit.git/commit/?id=488d95571fbe5b896c929dc3f65dc0c0a7161d00
Comment 43 Eclipse Genie CLA 2018-11-13 20:24:09 EST
Gerrit change https://git.eclipse.org/r/131885 was merged to [master].
Commit: http://git.eclipse.org/c/jgit/jgit.git/commit/?id=9b31969f3c8b10747ee4af4fff83e9f45c6b41b0
Comment 44 Eclipse Genie CLA 2018-11-13 20:45:25 EST
Gerrit change https://git.eclipse.org/r/131886 was merged to [master].
Commit: http://git.eclipse.org/c/jgit/jgit.git/commit/?id=06387d4bfdddf96e0d590649cdc6b7f89a53e341
Comment 45 Eclipse Genie CLA 2018-11-13 20:59:55 EST
Gerrit change https://git.eclipse.org/r/131887 was merged to [master].
Commit: http://git.eclipse.org/c/jgit/jgit.git/commit/?id=8001f4c1fe441ec2eb7416851e933e9dc347abd7
Comment 46 Eclipse Genie CLA 2018-11-13 21:03:10 EST
Gerrit change https://git.eclipse.org/r/131888 was merged to [master].
Commit: http://git.eclipse.org/c/jgit/jgit.git/commit/?id=63a87b398ff67584069ab8cf6a17824f009a7102
Comment 47 Eclipse Genie CLA 2018-11-13 21:51:10 EST
Gerrit change https://git.eclipse.org/r/131889 was merged to [master].
Commit: http://git.eclipse.org/c/jgit/jgit.git/commit/?id=ec1116627f251dbc434111840111a417263403ee
Comment 48 Eclipse Genie CLA 2018-11-14 08:48:26 EST
Gerrit change https://git.eclipse.org/r/131890 was merged to [master].
Commit: http://git.eclipse.org/c/jgit/jgit.git/commit/?id=c56fa51709278f2be4e155ae5fbad270188cbe64
Comment 49 Eclipse Genie CLA 2018-11-14 09:04:48 EST
Gerrit change https://git.eclipse.org/r/131891 was merged to [master].
Commit: http://git.eclipse.org/c/jgit/jgit.git/commit/?id=a151190bef8769bb644f08e6fa423c7fe423a1dd
Comment 50 Eclipse Genie CLA 2018-11-15 11:14:30 EST
New Gerrit change created: https://git.eclipse.org/r/132500
Comment 51 Konrad Windszus CLA 2018-11-16 08:54:14 EST
Does the current state already provide ssh-agent support (https://github.com/apache/mina-sshd/blob/master/README.md#proxy-agent)? If not, is this planned as well?
Comment 52 Thomas Wolf CLA 2018-11-16 09:09:06 EST
(In reply to Konrad Windszus from comment #51)
> Does the current state already provide ssh-agent support
> (https://github.com/apache/mina-sshd/blob/master/README.md#proxy-agent)? If
> not, is this planned as well?

No, it does not. The Java code is prepared for it, but sshd uses the tomcat APR native library (libraries actually, different for different systems, Mac OS, Linux, Windows) for this. Those are not in Eclipse yet.

Yes, _eventually_ it would be nice if we could support this. I know Gunnar once did an Eclipse plug-in for this,[1] but I don't know if that could be adapted easily for sshd. See also bug 179924; the upshot from that is that the underlying JSch JNA stuff never made it into Eclipse because it uses JDK internals.

It's not going to be easy; doing this properly such that it can be maintained will require getting the Tomcat APR into Eclipse (which requires CQ to get legal clearance), and may need significant build infrastructure changes (if we have to build the JNA libraries from sources, we'd need to able to build native code on Jenkins for Mac OS, Linux, and Windows). And then we'd have to figure out how to package this correctly. And how it all needs to be hooked up such that it works.

[1] https://github.com/eclipseguru/eclipse-jsch-agent-proxy
Comment 53 Eclipse Genie CLA 2018-11-16 11:14:28 EST
New Gerrit change created: https://git.eclipse.org/r/132581
Comment 54 Eclipse Genie CLA 2018-11-16 23:49:31 EST
Gerrit change https://git.eclipse.org/r/132500 was merged to [master].
Commit: http://git.eclipse.org/c/jgit/jgit.git/commit/?id=7aaeb6489f9819227fa8ebe122a849b6029242b7
Comment 55 Eclipse Genie CLA 2018-11-17 11:16:38 EST
Gerrit change https://git.eclipse.org/r/132581 was merged to [master].
Commit: http://git.eclipse.org/c/jgit/jgit.git/commit/?id=00b235f0b86769ec6781a8114cd741f3cba08de5
Comment 56 Eclipse Genie CLA 2018-11-17 11:16:41 EST
Gerrit change https://git.eclipse.org/r/131892 was merged to [master].
Commit: http://git.eclipse.org/c/jgit/jgit.git/commit/?id=6c14d273faa89ab1657e818315b68f3bd672ff87
Comment 57 Eclipse Genie CLA 2018-11-17 12:54:04 EST
New Gerrit change created: https://git.eclipse.org/r/132615
Comment 58 Eclipse Genie CLA 2018-11-17 13:44:35 EST
Gerrit change https://git.eclipse.org/r/132615 was merged to [master].
Commit: http://git.eclipse.org/c/jgit/jgit.git/commit/?id=c567b6ecde6b055441f52f0f36dcf8b9d0fe5068
Comment 59 Eclipse Genie CLA 2018-11-17 15:10:18 EST
Gerrit change https://git.eclipse.org/r/131893 was merged to [master].
Commit: http://git.eclipse.org/c/egit/egit.git/commit/?id=33cc25fcead0ed86bd61c0f87625aac1dcaf6b90
Comment 60 Thomas Wolf CLA 2018-11-17 16:19:35 EST
Changes are available now via the EGit nightly update site http://download.eclipse.org/egit/updates-nightly as of versions
EGit 5.2.0.201811172010 and JGit 5.2.0.201811171917.

Closing now; I'll create follow-up issues for the loose ends: ed25519 support, reading PuTTY keys, ssh-agent and Pageant support.
Comment 61 Sven Selberg CLA 2020-04-22 10:04:35 EDT
Does anyone know if switching to Mina fixed the problems with setting GIT_SSH in Egit?
https://bugs.eclipse.org/bugs/buglist.cgi?quicksearch=GIT_SSH
Comment 62 Thomas Wolf CLA 2020-04-22 10:09:23 EDT
(In reply to Sven Selberg from comment #61)
> Does anyone know if switching to Mina fixed the problems with setting
> GIT_SSH in Egit?
> https://bugs.eclipse.org/bugs/buglist.cgi?quicksearch=GIT_SSH

Don't know. If GIT_SSH is set, an *external* ssh executable is used, not one of the internal Java SSH implementations (Jsch or Apache MINA sshd). So I would be surprised if introducing Apache MINA sshd had changed anything regarding GIT_SSH.