ssh-from
ssh-from
simplifies common usage of SSH tunnels, and makes double (or triple) tunnels a piece of cake.
For instance, it lets me SSH to a computer that is behind two NATs, tunneling through each router.
Installation
Install dependencies (tsocks is optional):
sudo apt-get install python3 lsof tsocks
Then download the script somewhere in your PATH and make it executable:
sudo wget https://gist.github.com/mildsunrise/501037e2c29ace3edc406c77551b9990/raw/ssh-from.py -O /usr/local/bin/ssh-from
sudo chmod a+rx /usr/local/bin/ssh-from
I highly recommend you install this helper program as well.