SshTunnel: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Some web pages are blocked from viewing offsite. Here is method to tunnel a browser through ssh. <pre> Michael Diesburg Monday, November 09, 2015 3:32 PM First pick...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 21: | Line 21: | ||
the same port number you used in the ssh command. | the same port number you used in the ssh command. | ||
</pre> | </pre> | ||
[[Category:Computing]] | |||
[[Category:Workflows]] |
Latest revision as of 20:44, 14 April 2017
Some web pages are blocked from viewing offsite. Here is method to tunnel a browser through ssh.
Michael Diesburg Monday, November 09, 2015 3:32 PM First pick a node that you can ssh into from off-site. Let's assume you can login to gpvm interactive. Then on the remote node where you want to view the web page enter this command: $ ssh -f mu2egpvm01.fnal.gov -L 12345:mu2esamgpvm01.fnal.gov:8787 -N In the above 12345 is just some unused port number on your machine. Just pick some large number. Ssh will complain if something else is already listening on that port. Now go to your browser and in the address bar enter: localhost:12345/fts/status That should bring up the FTS status page. The 12345 above is the same port number you used in the ssh command.