I filed a bug for it and attached a patch for further discussions: https://bugs.eclipse.org/bugs/show_bug.cgi?id=382684
Anna. On Thu, Jun 14, 2012 at 2:41 AM, Anna Dushistova <anna.dushist...@gmail.com> wrote: > Hi Bernd, > > I looked through the code and didn't notice any use of ssh/sftp > specific classes/methods. > I personally would like to be able to use LTTng 2.0 through any > connection that has > files and shells/terminals subsystems, be it over SSH or TCF or anything else. > I implemented something like this in org.eclipse.cdt.launch.remote[1]. > We could do the same > for LTTng 2.0 if there are no restrictions from the remote side. > What do you think? > > [1] > http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/tree/cross/org.eclipse.cdt.launch.remote/src/org/eclipse/cdt/launch/remote/RSEHelper.java > , see methods like getSuitableConnections(), > getSubsystemWithShellService()... > > Anna. > > On Wed, Jun 13, 2012 at 5:55 PM, Bernd Hufmann <bhufm...@gmail.com> wrote: >> 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.dushist...@gmail.com> 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@eclipse.org >>> https://dev.eclipse.org/mailman/listinfo/linuxtools-dev >> _______________________________________________ >> linuxtools-dev mailing list >> linuxtools-dev@eclipse.org >> https://dev.eclipse.org/mailman/listinfo/linuxtools-dev _______________________________________________ linuxtools-dev mailing list linuxtools-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/linuxtools-dev