I'm new to this group and linux. I'm seeking help to setup SSH tunnel to my university's server. The server setup is described below:
LOCAL: My local laptop at home - Window7 laptop with Cygwin installed. I have working bash shell.
FENOM: This is the intranet server of my university which is accessible from any outside network/internet machine (e.g LOCAL).
XEON: This is the main server or cluster where hadoop is installed. One can login to this server only via FENOM.
Henceforth, using above names instead of IP address.
The Hadoop cluster interface is available at http://localhost:50130/jobtracker.jsp on XEON. I want this interface accessible on my LOCAL laptop with same URL.
Create SSH tunnel to LOCAL->FENOM-> XEON.
Steps taken so far:
1. created password less login from LOCAL to FENOM and FENOM to XEON. But I can't ssh directly to XEON from LOCAL with this. (this is correct I guess, unless tunnel is setup)
2. On LOCAL: executed ssh -L 2222:xeon:22 kevin at fenom [Successful]
Now I think I have to execute this command on my LOCAL laptop:
ssh -L 50130:localhost:50130 kevin at fenom [Failed]
To be able to access hadoop interface (http://localhost:50130/jobtracker.jsp) on my LOCAL laptop. But this is not working.
Please help me on how to fix this. I think I am doing something wrong, kindly point out my mistake to setup the SSH tunnel successfully.
Thank you very much.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!