Refactor EclipseSshSessionFactory to extend SshConfigSessionFactory
commitbcef396418f43c947198b022f5303911632be551
authorShawn O. Pearce <spearce@spearce.org>
Fri, 17 Apr 2009 15:35:10 +0000 (17 08:35 -0700)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Fri, 17 Apr 2009 23:02:25 +0000 (18 01:02 +0200)
tree4699b6d6270365dbd30871278001355118ce245e
parenteb6babe8ae7b3f7250872ac4ddef7fb9ab9dbc41
Refactor EclipseSshSessionFactory to extend SshConfigSessionFactory

Keeping the EclipseSshSessionFactory in sync with our OpenSSH compliant
DefaultSshSessionFactory was a problem; e.g. a few commits ago we had
support for StrictHostKeyChecking added, but it was missed in the fork
we use under Eclipse.

Constantine Plotnikov's recent patch pointed out we should clean up
the code and make EclipseSshSessionFactory use the same code as the
other JGit clients use.  This makes it possible by refactoring the
way we create the Session and obtain a handle on the JSch.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.egit.ui/src/org/spearce/egit/ui/EclipseSshSessionFactory.java
org.spearce.jgit/src/org/spearce/jgit/transport/SshConfigSessionFactory.java