I am attemtping to SSH my home PC from another PC. Before I even get to the command line, I need to know my IP address. But I'm getting confused. If I use ifconfig, I get a a load of "inet" numbers for eth0. If I go onto any of the dozens of "test your IP" websites they all point to an address that is actually the address of my ISP. So what should I use when I want to use SSH?
I'm using Linux.
ifconfigon? Your home PC or the PC outside? Same for the "Test your IP" sites? Of course you will want to connect to the "external" IP if and only if the PC you want to connect from is not inside your network. Note that if you're behind a router, you will somehow need to port-forward SSH connections from the outside to your local computer. – slhck Sep 11 '11 at 16:59