Unruh wrote:
[...]
> I can ssh out to my work machine from home, but obviously not the other
> way. Is there some way that I can ssh from home to work and then use that
> open connection to connect to the home machine from the work machine?
> Eg to allow mail delivery from work to home, or allow me to work on the
> home system from work?
>
Yes.
ssh -N -R 12345:localhost:22 your-work-machine
will connect to your system at work and establish tunnel from port 12345
there to port 22 (ssh) on your local system. Now you can do everything
including setting up new tunnels from work to your home system.
There is a software (
http://www.harding.motd.ca/autossh/) to monitor SSH
tunnel and restart it if needed; I have not used it myself. There are also
numerous frontends that help to setup and manage multiple SSH tunnels.
Beware that your provider is likely to drop connections once in a while
which may result in new mapping so old connections won't work. Here autossh
may be useful.
=arvi=