It's all about the answers!

Ask a question

Is there a way to connect to RTC 4.0.3 via ssh and tunnelling?


carlos roberto (21443030) | asked Aug 01 '13, 5:27 p.m.
edited Aug 01 '13, 5:27 p.m.

I have a RTC 4.0.3 installation in a Windows 2008 R2 server. For security reasons, this server can only be acessed via ssh using tunnelling. To connect to the server, I use the connection string https://localhost:9443/jazz
The string "localhost:9443" is mapped in putty tool to connect to ip_server:9443, where ip_server is the server IP.

When I open the browser and type the connection string, I am able to connect to RTC server and login to jazz or jts pages. The problem arises when I click in links or buttons and I get errors because these controls are mapped as servername:9443 and the putty connection only knows localhost:9443. Is there a way to map the URLs properly to enable browser works properly via ssh with tunnelling?

Cheers

3 answers



permanent link
Nicolas Rouquette (1546) | answered Nov 08 '13, 11:33 a.m.
I installed JTS and several other applications on a windows7 machine that has a DHCP address.
JTS is configured to use locahost.

Next, I installed cygwin sshd:


However, I couldn't ssh to the server.
It turned out to be a windows firewall problem as described here:


Finally, to establish an ssh tunnel to jts running on <server ip> from a remote host, I do this:

ssh -L 9443:<server ip>:9443 <server ip>

Then, from that remote host, I can open a web browser to https://localhost:9443/....

Hope this helps,

- Nicolas.

permanent link
Abraham Sweiss (2.4k1331) | answered Aug 02 '13, 2:33 p.m.
Hi Carlos,

Let me know if the following article helps:
http://xuanluo.bol.ucla.edu/sshproxywin.html

permanent link
Abraham Sweiss (2.4k1331) | answered Aug 02 '13, 9:52 a.m.
Hi Carlos,

I am guessing using  localhost in the connection string may be a problem.   What i think is happenning is when you click on a link, localhost is being converted to the loopback Ip of the server.  In putty would you be able to use the host name of the server instead of localhost?

Comments
carlos roberto commented Aug 02 '13, 1:33 p.m.

AFAIK the localhost is the way how putty maps the configured server name and port to the server name string in hosts file. In the tunnels configuration pannel, following the help doc, I just added the L9443 string and, still according to the help doc, I need use https://localhost:9443 to refer to the configured server. Not sure if there is another way make putty map the server.

Cheers.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.