|
Re: SSH tunnel through a Bastion host ? [message #639459 is a reply to message #583509] |
Tue, 16 November 2010 16:10 |
Martin Oberhuber Messages: 1007 Registered: July 2009 |
Senior Member |
|
|
Hi,
you can setup an SSH tunnel through your bastion to the remote,
using the following ssh commandline command:
ssh -l bastionuser bastion -L27120:remote:22
Now, create an RSE SSH-Only connection to host "Localhost" but name
it "Remote-through-bastion". Right click on the "Sftp Files" subsystem,
and open Properties. On the Subsystem Properties page, change port
to 27120.
Connect, entering your remote username --> you will get full SSH and
File Subsystems to your remote, since the remote will think that the
SSH connection has been initiated at the bastion.
Note that bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=195170
is currently open for supporting such tunneling directly through
RSE (at the moment, you need the ssh commandline to setup the tunnel). I
tested this on a Linux host and it worked fine - though OpenSSH or
Cygwin SSH should also support this on Windows.
HTH,
Martin
|
|
|
Powered by
FUDForum. Page generated in 0.04203 seconds