Technote (FAQ)
Question
Can I customize a ssh port forwarding for the Java WebStart?
Answer
The following steps can be used to configure a Java WebStart TEP to use the port forwarding:
1) Download required Java for Windows or Linux from TEPS at:
http://<TEPS_host_name>:1920///cnp/kdh/lib/java/ibm-java2.exe
http://<TEPS_host_name>:1920///cnp/kdh/lib/java/ibm-java2-i386-jre-xxxxx.i386.rpm
(xxxxx is the version number and depends of ITM version and fixpack level)
2) Download and run the client using one of three methods:
=> Enter the URL of the TEPS in a browser.
=> Launch the client from the IBM Java Control Panel.
=> Use javaws command with appropriate URL.
3) Customize a port forwarding:
local host (ssh port 4321, host1) ==== tunnel =======> remote host (sshd port 22, gate) -------> TEPS
The ssh is establishing a connection to the sshd on the host gate, if you call
ssh -g -L 4321:TEPS:1920 gate
on the local host. Additional is the local host bind the port 4321 on the ssh client. All TCP packages that are received on port 4321 are sent to the sshd on the remote host site.
4) The Java WebStart can be called with the command
<Path to the ibm javaws> http://<local host>:4321///cnp/kdh/lib/tep.jnlp
Default path for Java WebStart on Linux is /opt/ibm/java2-i386-50/jre/bin/javaws
i.e.:
/opt/ibm/java2-i386-50/jre/bin/javaws http://ABCDEF:4321///cnp/kdh/lib/tep.jnlp
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.