LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

Fwd: [ILUG] [Beginner] SSH Tunneling

Fwd: [ILUG] [Beginner] SSH Tunneling

Kevin Harry eskimo1987 at yahoo.com
Fri Jul 20 16:20:30 IST 2012


Thanks a lot Jon! Your solution worked great! :)

Cheers,
Kevin


________________________________
 From: Jonathan McCrohan <jmccrohan at gmail.com>
To: 
Cc: ilug at linux.ie 
Sent: Friday, July 20, 2012 5:06 PM
Subject: Fwd: [ILUG] [Beginner] SSH Tunneling
 
[Forgot to CC list]

---------- Forwarded message ----------
From: Jonathan McCrohan <jmccrohan at gmail.com>
Date: 20 July 2012 16:04
Subject: Re: [ILUG] [Beginner] SSH Tunneling
To: Kevin Harry <eskimo1987 at yahoo.com>


Hi Kevin,

On 20 July 2012 15:11, Kevin Harry <eskimo1987 at yahoo.com> wrote:
> 1) @local:ssh -L 2222:xeon:22 kevin at fenom (logs-in to fenom)
> 2) @fenom: ssh -L 50130:localhost:50130 kevin at xeon
> 3) @local: ssh -p 2222 kevin at localhost
> 4) @local: ssh -L 50130:localhost:50130 kevin at fenom

This can be reduced down to a single command through SSH bouncing. Use
the following ~/.ssh/config file:
Host xeon
Hostname xeon.collegedomain.ie
User xeon-username
ProxyCommand ssh fenomusername at fenom.collegedomain.ie /bin/nc -w 1
xeon.collegedomain.ie 22

To log into your xeon host from local, and port forward hadoop to localhost:
user at local:~$ ssh xeon -L50130:localhost:50130

Jon
-- 
Irish Linux Users' Group mailing list
About this list : http://mail.linux.ie/mailman/listinfo/ilug
Who we are : http://www.linux.ie/
Where we are : http://www.linux.ie/map/


More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell