scp / sftp [message #16590] |
Thu, 06 December 2007 04:04  |
Eclipse User |
|
|
|
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 10:38  |
Eclipse User |
|
|
|
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 10:38  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03687 seconds