Bug 452759 - Built-In SSH doesn't work with Windows SSHD server
Summary: Built-In SSH doesn't work with Windows SSHD server
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: remote (show other bugs)
Version: Next   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2014-11-21 16:52 EST by Patrick Tasse CLA
Modified: 2022-03-09 14:36 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Tasse CLA 2014-11-21 16:52:42 EST
When attempting to connect to an Apache Mina SSHD 0.13.0 running on Windows, the connection hangs after authentication in an loop waiting for the result of executing command "pwd", which the Windows OS cannot find.

The command is sent at JSchConnection.getCwd():464.

The hanging loop is at AbstractRemoteCommand:ExecCallable.waitCmdInThread():164, repeatedly catching and ignoring a TimeoutException.

The loop only exits when the SSHD disconnects the idle connection after 10 minutes.
Comment 1 Greg Watson CLA 2014-12-03 10:48:25 EST
Remote support assumes the target system is running Linux/Unix. We don't have any plans to change this, however we would be willing to consider a patch that adds support for other operating systems. You would need to submit a patch via Gerrit so that it can be reviewed.
Comment 2 Roland Schulz CLA 2014-12-03 10:53:30 EST
It should work if you install cygwin and connect to its sshd.
Comment 3 Jonah Graham CLA 2022-03-09 14:36:03 EST
The org.eclipse.remote component of the Eclipse Ecosystem has a new home. It is now part of the Eclipse CDT project[1].

This change means a new Git repo[2], P2 site[3] and Bugzilla component. The org.eclipse.remote will continue to be delivered as part of the quarterly Simultaneous Release of Eclipse as well.

If this bug is no longer relevant, please feel free to comment or close the bug. If you can confirm if this issues still occurs in the latest release please do let me know in a comment.

[1] https://wiki.eclipse.org/CDT/User/NewIn106
[2] https://git.eclipse.org/c/cdt/org.eclipse.cdt.git (in the remote
directory)
[3] first CDT release will be 10.6 - P2 site will be
https://download.eclipse.org/tools/cdt/releases/10.6/

(This comment was added to all relevant org.eclipse.remote bugs along with changing the Product/component pair to CDT/remote.)