Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [linuxtools-dev] LTTng 2.0 connection type

Hi Anna

You're right the LTTng 2.0 connection type also needs a sftp_server to
be available on the remote side. This is used for importing traces
from the remote node. I've already updated the user documentation on
the wiki.

The LTTng 2.0 connection type (RSE system type) uses internally the
RSE subsystem type ssh.shells for executing LTTng 2.0 commands. It
also uses ssh.files for importing traces from the remote system to the
Eclipse workspace. The type ssh.files uses a sftp implementation
internally.

As a test, I disabled sftp on my test remote host. The first time I
try to connect I get an exception with a message that sftp_server is
not installed. Then, when I do the connection the second time I don't
get this exception and the shell subsystem connects. Once the
connection is established I was able to use the tracer control. Of
course importing of traces fails. However, having to deal with
exception is not very convenient.

I have to investigate further how the LTTng 2.0 tracer control in
Eclipse can support the RSE scp implementation that you suggested as
an alternative to sftp. I'll get back to you when I know more.

Best Regards
Bernd

On Wed, Jun 13, 2012 at 3:41 AM, Anna Dushistova
<anna.dushistova@xxxxxxxxx> wrote:
> Hi All,
>
> I have a question about LTTng2.0 connection type. Documentation says
> "requires an SSH server to be running on the remote host".
> My remote host has ssh, however, it doesn't have sftp, which is
> actually very common in the embedded world.
> TM has now an SCP file subsystem
> (http://www.eclipse.org/downloads/download.php?file=/tm/downloads/drops/S-3.4RC2-201205300905/RSE-scp-incubation-3.4RC2.zip)
> that allows file transfer over scp. Could we maybe offer a choice
> between these two subsystems during connection creation process?
> Another option might be adding the SFTP requirement to the documentation.
>
> Let me know what you think!
> Thanks!
> Anna.
> _______________________________________________
> linuxtools-dev mailing list
> linuxtools-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/linuxtools-dev


Back to the top