Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » How can I disable SFTP?
How can I disable SFTP? [message #638430] Thu, 11 November 2010 09:24 Go to next message
Eclipse UserFriend
Originally posted by: use_my_alias_here.hotmail.com

Hi,

I'm using Remote System Explorer and CDT to do remote C++ debugging.
I use the latest Helios distribution.

The problem is that when I start up the remote debugging I get the
following error message:

"Failed to connect SFTP subsystem: Remote host may not have sftp-server
installed : java.io.IOException: Pipe closed"

I don't have any sftp-server on the remote target, and we can't install
it either.

How can I disable the SFTP functionality?


Thanks,
Daniel
Re: How can I disable SFTP? [message #639419 is a reply to message #638430] Tue, 16 November 2010 13:37 Go to previous messageGo to next message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 985
Registered: July 2009
Senior Member
Hi Daniel,

not having SFTP is a frequent problem, you may be interested in the "SCP
files subsystem" contribution that's upcoming this year:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=213438

Until this is available, as a user of "standard" RSE, you can do this:
1. Define your connection as connection type "UNIX"
2. As subsystems, choose
FTP-Files, SSH-Shells, DStore-Process, SSH-Terminals
3. Right-click NOT the connection but the SSH-Shells subsystem
- choose connect in the context menu.

As a programmer (extender) of RSE, you can define a System Type (e.g.
"SSH-Shellsonly") which only registers the Shells subsystem but no files
subsystem.

Note that in order to do remote c++ debugging, you'll have to "somehow"
get your files onto the remote.

Cheers
Martin
Re: How can I disable SFTP? [message #884852 is a reply to message #639419] Tue, 12 June 2012 00:21 Go to previous messageGo to next message
john doe is currently offline john doeFriend
Messages: 1
Registered: June 2012
Junior Member
Hmm.. interesting. I got this to work only once. After that, the only approach that consistently works is to use the RSE RCP plugin that is still in the incubation phase.

[Updated on: Tue, 12 June 2012 16:57]

Report message to a moderator

Re: How can I disable SFTP? [message #1090067 is a reply to message #639419] Mon, 19 August 2013 17:06 Go to previous message
Lothar Werzinger is currently offline Lothar WerzingerFriend
Messages: 153
Registered: July 2009
Location: Bay Area
Senior Member
It would be nice if one could simply deactivate (uncheck) a subsystem that one does not need (or can not access) in the properties of the connection and the create wizard.

I am using RSE to launch a terminal against a Karaf OSGi container. It works perfectly except for the error about "Failed to connect SFTP subsystem". These errors are just annoying and could be easily prevented if one could disable the subsystem for this connection.
Previous Topic:Using RSE synchronize cache to import files
Next Topic:RSE set host port number programmatically
Goto Forum:
  


Current Time: Sat Dec 20 23:46:14 GMT 2014

Powered by FUDForum. Page generated in 0.01651 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software