Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dsdp-tm-dev] HOWTO: RSE dstore connection through ssh tunnel

Hello everybody,

I'd like to share with you how an RSE dstore connection can be set
up to a remote host behind a firewall, when no root access is 
available on the remote host. I've tried this scenario by making
a connection to build.eclipse.org, and it works fine.

1.) ssh to the remote host and run the dstore server on a 
    well-known port:

    ssh build.eclipse.org -l moberhuber 
    cd rseserver
    perl server.pl 27127

2.) Set up an ssh tunnel, that forwards the local port to the 
    remote one:

    ssh -L 27127:build.eclipse.org:27127 -l moberhuber build.eclipse.org

3.) Create the connection in RSE:

    New connection, type=Linux, name=eclipse-dstore, host=localhost
    Finish
    Select the connection's File subsystem, choose Properties
    - on "Server Launcher Settings", choose "Connect to Running Server"
    - on "Subsystem" page, choose port=27127
    Expand the files node/My Home node to connect
    - Enter ANYTHING for username+password (will not be used)

and it just works fine!
Note that the remote server will terminate when you disconnect,
so you'll need to restart it if you want to reconnect.

For the future, it would be nice if RSE would not ask for username
and password (its not used by the "Running Server" connector; this
is bug 142471); and it would be nice if the ssh tunnel could be
created from the UI as part of the server launcher settings, such
that no command-line access is needed.

Cheers,
Martin

--
---------------------------------/()\-----------------------------------
Dipl.-Ing. Martin Oberhuber        mailto:martin.oberhuber@xxxxxxxxxxxxx
Member of Technical Staff          Phone  (UTC +1h): +43 (662) 457915-85
Wind River Systems (Salzburg) GmbH              Fax: +43 (662) 457915-6
Jakob-Haringer-Str.8, A-5020 Salzburg, Austria  http://www.windriver.com
----------------------- How Smart Things Think -------------------------
 


Back to the top