Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dsdp-tm-dev] RE: RSE ssh with x11 forwarding?

Hello Dominik,

We don't have support for port forwarding in RSE yet.

I don't know exactly how X11 forwarding works, but I 
think it's just a few ports redirected... plus, maybe,
some Xauth authentication going on.

The way SSH works in TM / RSE is, we use the plain Java
library "JSch" for the SSH communications:
   http://www.jcraft.com/jsch/ 

If you download the source code, it includes example 
programs for setting up port forwarding through JSch;
the Session instance you can obtain from TM / RSE if
you want to code it. There is even an example program
for X11 forwarding:
   http://www.jcraft.com/jsch/examples/X11Forwarding.java
   http://www.jcraft.com/jsch/examples/PortForwardingL.java
   http://www.jcraft.com/jsch/examples/PortForwardingR.java

It should be quite straightforward to integrate this
into RSE. The JSch mailing list archive may have more
iformation:
   http://sourceforge.net/mailarchive/forum.php?forum_name=jsch-users

For TM/RSE, see also 
  https://bugs.eclipse.org/bugs/show_bug.cgi?id=195170

BTW, since our project is meant to be open and transparent, please use public communication channels for asking questions: the TM newsgroup:
   news://eclipse.dsdp.tm 
or the dsdp-tm-dev developer mailing list:
   https://dev.eclipse.org/mailman/listinfo/dsdp-tm-dev

Thanks,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
 
 

> -----Original Message-----
> From: Dominik Brunner [mailto:Dominik.Brunner@xxxxxxx] 
> Sent: Dienstag, 10. März 2009 08:46
> To: Oberhuber, Martin
> Subject: RSE ssh with x11 forwarding?
> 
> Dear Martin,
> 
> I came across Eclipse only a few weeks ago and I am now exploring its
> capabilities. Since I am developing code on different 
> platforms both at
> work and at home I am very interested in the RSE plugin. In 
> particular,
> I am frequently working on a Windows desktop but developing code for
> remote Linux workstations and therefore it would be great if the
> terminal/shell established with SSH would support X11 forwarding.
> Unfortunately, I have not been able to do this so far. I tried to add
> some ssh_config or config file into the ssh directory but that didn't
> help. Is there no support for this at the moment?
> 
> Best, Dominik
> 
> ********************************
> Dr. Dominik Brunner
> Laboratory for Air Pollution / Environmental Technology
> Empa - Materials Science & Technology
> Überlandstrasse 129
> CH-8600 Dübendorf
> Tel +41 44 823 49 44
> Fax +41 44 821 62 44
> Dominik.Brunner@xxxxxxx
> www.empa.ch
> ********************************
> 


Back to the top