Thread: Using SSH
View Single Post
Yonzie
Mac Mini Maniac
 
Join Date: Sep 2005
 
2008-01-23, 17:44

Quote:
Originally Posted by tomoe View Post
IP Address: set to IP of Client (i.e. computer at school)
There's your error. It should be the IP of the computer you want to connect to from the outside, ie. the local IP of the MBP. You'll probably need to give it a static IP to avoid problems.

EDIT: Basically, you tell the iMac to SSH to your public IP. Your public IP is the router. The router doesn't know what to do with the connection, so it drops it. This is where you tell the router that if it gets an connection on port 22, it should forward it to [some IP on the local network behind the router].
The same is not true for the iMac, since it has a public IP address (meaning one that is "visible" to the entire internet (your local network cannot be routed on the internet, the router acts as an interpreter)).

Converted 07/2005.
  quote