Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » scp / sftp
scp / sftp [message #16590] Thu, 06 December 2007 09:04 Go to next message
Harald Krapfenbauer is currently offline Harald KrapfenbauerFriend
Messages: 16
Registered: July 2009
Junior Member
Hello,

I want to use the TM plug-in for executing remote commands and
transferring files. I use TM 2.0.2 and Eclipse 3.3.

To connect to my target, I use the "ssh-only" connection which is
sufficient. Obviously, TM requires the sftp service on the target to be
able to list and transfer files. Is there a way to only use scp and NOT
sftp? The issue is that on some embedded targets that run Linux, often
"dropbear" is installed which (at least on this machine) offers no sftp
service.

Listing files without sftp, only using scp, is generally possible: For
example, WinSCP works good with dropbear, using only the scp service.


Thanks for your help!
Greetings,
Harald
Re: scp / sftp [message #16713 is a reply to message #16590] Tue, 11 December 2007 15:38 Go to previous message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 1007
Registered: July 2009
Senior Member
Hello Harald,

the problem with scp is that it uses the remote shell to perform an "ls
-l" command or similar, so the output of this is not standardized. It
depends heavily on the type of remote machine, and the type of shell
being used what the required command (and the output) should look like.

If you look at the log of commands in WinSCP while it's operating on an
scp-only target, you'll see that it performs a lot of commands just to
find out the type of shell and remote machine.

It requires a lot of work getting an scp-only connection to work
properly, and the TM committers don't currently prefer to focus on the
standardized sftp rather than the non-standardized scp. But if you want
to get active yourself or get others in the community to get active,
we'd accept a contribution for an scp type of connection.

I'd recommend filing an enhancement request on bugzilla for a start.

Thanks,
--
Martin Oberhuber
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm


Harald Krapfenbauer wrote:
> Hello,
>
> I want to use the TM plug-in for executing remote commands and
> transferring files. I use TM 2.0.2 and Eclipse 3.3.
>
> To connect to my target, I use the "ssh-only" connection which is
> sufficient. Obviously, TM requires the sftp service on the target to be
> able to list and transfer files. Is there a way to only use scp and NOT
> sftp? The issue is that on some embedded targets that run Linux, often
> "dropbear" is installed which (at least on this machine) offers no sftp
> service.
>
> Listing files without sftp, only using scp, is generally possible: For
> example, WinSCP works good with dropbear, using only the scp service.
>
>
> Thanks for your help!
> Greetings,
> Harald
Re: scp / sftp [message #571275 is a reply to message #16590] Tue, 11 December 2007 15:38 Go to previous message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 1007
Registered: July 2009
Senior Member
Hello Harald,

the problem with scp is that it uses the remote shell to perform an "ls
-l" command or similar, so the output of this is not standardized. It
depends heavily on the type of remote machine, and the type of shell
being used what the required command (and the output) should look like.

If you look at the log of commands in WinSCP while it's operating on an
scp-only target, you'll see that it performs a lot of commands just to
find out the type of shell and remote machine.

It requires a lot of work getting an scp-only connection to work
properly, and the TM committers don't currently prefer to focus on the
standardized sftp rather than the non-standardized scp. But if you want
to get active yourself or get others in the community to get active,
we'd accept a contribution for an scp type of connection.

I'd recommend filing an enhancement request on bugzilla for a start.

Thanks,
--
Martin Oberhuber
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm


Harald Krapfenbauer wrote:
> Hello,
>
> I want to use the TM plug-in for executing remote commands and
> transferring files. I use TM 2.0.2 and Eclipse 3.3.
>
> To connect to my target, I use the "ssh-only" connection which is
> sufficient. Obviously, TM requires the sftp service on the target to be
> able to list and transfer files. Is there a way to only use scp and NOT
> sftp? The issue is that on some embedded targets that run Linux, often
> "dropbear" is installed which (at least on this machine) offers no sftp
> service.
>
> Listing files without sftp, only using scp, is generally possible: For
> example, WinSCP works good with dropbear, using only the scp service.
>
>
> Thanks for your help!
> Greetings,
> Harald
Previous Topic:How can I get only the output of remote commands ?
Next Topic:[RSE] suggestions : bookmark or ReConnect
Goto Forum:
  


Current Time: Wed Apr 24 23:12:38 GMT 2024

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

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

Back to the top