Remotely SSH to IP address in home network

Solution 1:

One way to do what you want here is to add a port mapping in your Airport Extreme that points a non-standard remote port (e.g. 8022) to port 22 on your local 10.0.1.104 machine. Then, you can specify a different port in your SSH client (e.g. '-p 8022') to gain remote access.

You could also SSH into 10.0.1.100 first, and then SSH into 10.0.1.104 from that machine.

Solution 2:

If connecting from another Mac, the easiest way would be setting up Back to My Mac. All you need is a working iCloud account with Back to My Mac enabled in the iCloud preference pane. There is no need to configure any port forwarding with this set-up, and you can still connect to the default port 22.

Once you set it up on both Macs, in Terminal.app you can go to Shell - New Remote Connection, select Secure Shell (ssh), and your Mac at home should be listed there. You can also take note of the host name to use to launch a connection from the shell.

It is often overlooked Back to My Mac works with all the different services you can enable in the Sharing prefpane, and not just for accessing your files over a fileshare.