Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redo Ssh authentication to use Apache MINA sshd #641

Open
dmusican opened this issue Dec 11, 2018 · 0 comments
Open

Redo Ssh authentication to use Apache MINA sshd #641

dmusican opened this issue Dec 11, 2018 · 0 comments

Comments

@dmusican
Copy link
Owner

JGit has historically used JSch as the underlying ssh library, but JSch is a completely dead project and they are moving over to Apache MINA sshd. We're already using Apache MINA sshd for our test ssh server that we use when running tests. Eventually, the JSch code will likely break; it has already been difficult to work with due to lack of documentation. We should move over to Apache MINA.

Unfortunately, the move isn't straightforward. They've changed the structure and API on how this works:

https://www.eclipse.org/lists/jgit-dev/msg03709.html
https://www.eclipse.org/lists/jgit-dev/msg03717.html

Sample code on how to do this is here:

https://git.eclipse.org/r/plugins/gitiles/egit/egit/+/master/org.eclipse.egit.core/src/org/eclipse/egit/core/internal/EGitSshdSessionFactory.java

We need to figure out how to get Elegit updated. This is a high priority because it is silly to spend more time on other ssh related bugs until this is done; otherwise, we're investing more time in JSch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants