My networking knowledge is very much limited. I am sure there is a simple solution to this but I can't seem to find it anywhere. Here the scenario- There's this PC connected to a LAN at my workplace that I would like to 'ssh' into (its a Linux network) from my home PC (over the internet). I have Ubuntu installed at home. Could someone please guide me as to how I can achieve this?
ssh to a machine on a LAN from outside the network
Started by
xp_even
, Jan 28 2011 12:12 AM
#1
Posted 28 January 2011 - 12:12 AM
My networking knowledge is very much limited. I am sure there is a simple solution to this but I can't seem to find it anywhere. Here the scenario- There's this PC connected to a LAN at my workplace that I would like to 'ssh' into (its a Linux network) from my home PC (over the internet). I have Ubuntu installed at home. Could someone please guide me as to how I can achieve this?
#2
Posted 28 January 2011 - 04:20 AM
You must configure the router on the remote network to forward a port, then instruct sshd to listen to that port. Open a hole on the remote computer's firewall if necessary.
Then you can ssh to that remote machine by doing "ssh [email protected]".
If the remote network doesn't have a static IP, or if you don't want to type it, you can use a dynamic DNS service like DynDNS.
Then you can ssh to that remote machine by doing "ssh [email protected]".
If the remote network doesn't have a static IP, or if you don't want to type it, you can use a dynamic DNS service like DynDNS.
Similar Topics
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users