Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumsscp / sftp
https://www.eclipse.org/forums/index.php/mv/msg/5518/16590/#msg_16590
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]]>Harald Krapfenbauer2007-12-06T09:04:40-00:00Re: scp / sftp
https://www.eclipse.org/forums/index.php/mv/msg/5518/16713/#msg_16713
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.
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]]>Martin Oberhuber2007-12-11T15:38:29-00:00Re: scp / sftp
https://www.eclipse.org/forums/index.php/mv/msg/5518/571275/#msg_571275
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.
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]]>Martin Oberhuber2007-12-11T15:38:29-00:00