| Summary: | Cloning fails if SSH port is not default 22 | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Michael Ochmann <michael.ochmann> |
| Component: | Git | Assignee: | Matthias Sohn <matthias.sohn> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | john.arthorne, mamacdon, matthias.sohn |
| Version: | 3.0 | ||
| Target Milestone: | 3.0 RC1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Michael Ochmann
I debugged the server-side Git adapter and finally found that the SSH port that is passed to org.eclipse.orion.server.jsch.SessionHandler is simply ignored in the constructor when creating the JSch session, i.e. line 40 should read this.session = jSch.getSession(user, host, port); instead of this.session = jSch.getSession(user, host); pushed fix to github https://github.com/msohn/orion.server/commit/532cb46d1751d13bc893efe9ab156813b44a0020 Thanks for the fix! Pushed to master: http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=8748f09b5fb7afd4d3eb53c1e06e18ef48b904d8 |