x404.co.uk http://www.x404.co.uk/forum/ |
|
HOWTO: Reverse SSH tunnel http://www.x404.co.uk/forum/viewtopic.php?f=4&t=7491 |
Page 1 of 1 |
Author: | forquare1 [ Fri Apr 02, 2010 10:46 am ] | ||||||||||||||||||||||||||||||||||||
Post subject: | HOWTO: Reverse SSH tunnel | ||||||||||||||||||||||||||||||||||||
Before doing this please make sure that you have permission to do this on all of the machines involved. Just because you can actually do it doesn't mean you are allowed to! OK, you've got a system sitting at home and you want to access it over SSH while your out on the road? You can use reverse SSH to achieve this. We will assume the following:
So from machine A we will do the following:
That will connect you to the middle computer. When you want to connect to your home machine (called A), just do this from your laptop (machine C):
You are now connected! You may want to write some sort of script to reconnect your home machine should it go down. You can use any number, it doesn't have to be 10002 ![]() P.S. If your connection keeps dropping, try the following:
I have a script that I run from my home system, the one I want to access when I'm on the road, it looks something like this:
|
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |