Quick and Dirty SSH Tunneling
Shawn shows us how to set up a quick SSH tunnel for accessing a computer behind a remote firewall. He demonstrates this from his hotel room 400 miles away from his home network!
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
If you already use virtualized infrastructure, you are well on your way to leveraging the power of the cloud. Virtualization offers the promise of limitless resources, but how do you manage that scalability when your DevOps team doesn’t scale? In today’s hypercompetitive markets, fast results can make a difference between leading the pack vs. obsolescence. Organizations need more benefits from cloud computing than just raw resources. They need agility, flexibility, convenience, ROI, and control.
Stackato private Platform-as-a-Service technology from ActiveState extends your private cloud infrastructure by creating a private PaaS to provide on-demand availability, flexibility, control, and ultimately, faster time-to-market for your enterprise.
Sponsored by ActiveState
| Non-Linux FOSS: libnotify, OS X Style | Jun 18, 2013 |
| Containers—Not Virtual Machines—Are the Future Cloud | Jun 17, 2013 |
| Lock-Free Multi-Producer Multi-Consumer Queue on Ring Buffer | Jun 12, 2013 |
| Weechat, Irssi's Little Brother | Jun 11, 2013 |
| One Tail Just Isn't Enough | Jun 07, 2013 |
| Introduction to MapReduce with Hadoop on Linux | Jun 05, 2013 |
- Containers—Not Virtual Machines—Are the Future Cloud
- Non-Linux FOSS: libnotify, OS X Style
- Lock-Free Multi-Producer Multi-Consumer Queue on Ring Buffer
- Linux Systems Administrator
- Introduction to MapReduce with Hadoop on Linux
- RSS Feeds
- New Products
- Weechat, Irssi's Little Brother
- Validate an E-Mail Address with PHP, the Right Way
- Tech Tip: Really Simple HTTP Server with Python
- Poul-Henning Kamp: welcome to
12 min 51 sec ago - This has already been done
13 min 51 sec ago - Reply to comment | Linux Journal
59 min 5 sec ago - Welcome to 1998
1 hour 47 min ago - notifier shortcomings
2 hours 11 min ago - heroku?
3 hours 48 min ago - Android User
3 hours 49 min ago - Reply to comment | Linux Journal
5 hours 42 min ago - compiling
8 hours 32 min ago - This is a good post. This
13 hours 45 min ago
Featured Jobs
| Linux Systems Administrator | Houston and Austin, Texas | Host Gator |
| Senior Perl Developer | Austin, Texas | Host Gator |
| Technical Support Rep | Houston and Austin, Texas | Host Gator |
| UX Designer | Austin, Texas | Host Gator |
| Web & UI Developer (JavaScript & j Query) | Austin, Texas | Host Gator |
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?



Comments
Also, SSH tunneling can be
Also, SSH tunneling can be used when you are on an insecure network, so that you can encrypt your for example, cam chat traffic and feel safe about sending your passwords.
Also, SSH tunneling can be
Also, SSH tunneling can be used when you are on an insecure network, so that you can encrypt your for example, cam chat traffic and feel safe about sending your passwords.
question
Hi There
How is it that the private IP address of 192.168.1.1 is accessible from the public internet in order to do this?
@fujiblimp
It's not..the guy actually accesses 192.168.1.1 (which is the router ip in his home network) through "homeserver" which translates to the real IP of his home server, either 1to1 NAT or PAT for ssh port 22. The homeserver does half the magic, and should be a box running sshd. The other half of the magic happens on the laptop where the tunnel is initiated.
So he actually when the tunnel is created, shh LISTENS at port 8888 and forwards any packets sent to that port through the tunnel to the homeserver and then the homeservers checks the ip and sends it to 192.168.1.1.
Most folks are assigned
Most folks are assigned dynamic IP addresses by their ISP. This article here http://www.askmeaboutlinux.com/?p=1286 explains how to set up a dyndns account so you can host websites or use SSH to login to your computer from over the internet. You will find related links on that page on how to do it. There is also this item http://www.askmeaboutlinux.com/?p=1300 to enable you to login to a remote computer from a Nokia E63 smart phone.
Newbie
Hi everybody,
I'm new to Linux world and this article is a bit obscure to me.
I already experienced successfully remote access to my computer
through SSH, but can't really understand what is the difference
between the way I access it (simply ssh -X myuser@myhost)
and the way Shawn access it.
I've tried to understand this tunnelling stuff previously but
never could figure it out what exactly is and why and when it is useful.
Can some of you guys make it simple enough for me to understand or
address me to a clear article for a newbie like me?
Thanks a lot for the article!(and hopefully for your help).
Cheers.
Firefox SSH Tunnel
To send all traffic through the SSH tunnel via Firefox:
In Terminal:
:~$ ssh -fND localhost:$PORT user@some-ssh-server.com
For Example:
:~$ ssh -fND localhost:8888 user@sshtunnelserver.com
In Firefox, click on Edit then Preferences. Pick the 'Advanced' tab then the network sub-tab and click on the Settings button next to 'Configure how Firefox connects to the internet'. Select Manual proxy configuration, enter localhost in the SOCKS Host text field and enter the port you used for your tunnel. Close the dialog to apply the settings.
Firefox will go to the port selected, where the SSH process will pick it and send information encrypted to your SSH server, which will in turn establish the actual connections to the urls web server. here are two exceptions:
* Hosts listed in the 'No proxy for' field. By default this setting lists localhost and 127.0.0.1. You could add other hosts or IP addresses if you want Firefox to connect to them directly (instead of using the tunnel).
* Firefox will still do DNS lookups for the localhost.
To prevent Firefox from doing DNS lookups from localhost enter about:config in the URL text field and double click on the network.proxy.socks_remote_dns to set it to true.
At this point Firefox will send all of its traffic (except, again, for the 'No proxy for' field) through your SSH tunnel.
To undo all of this just go back into Firefox Preferences (AdvancedTab > Network subtab > Settings Button) and select 'use system proxy settings'. Then go to about:config and switch network.proxy.socks_remote_dns back to false.
SSH tunnelling can also be
SSH tunnelling can also be used when you are on an unsecure network, e.g. a Starbucks, so that you can encrypt your traffic and feel safe about sending your passwords. I have also used it to let my daughter access our Netflix account while overseas - their server sees the traffic as originating on my server which is in the US.
See https://calomel.org/firefox_ssh_proxy.html
Nice
I just want to thank you. This trick really save my ass. Have a great day.