SuperTunnel makes for easy, long-lived SSH tunneling!
Project description
st is a supercharged SSH tunnel manager, useful for managing SSH connections that you want to be long lived.
To forward port 8888 from host.example.com:
$ st forward -p 8888 host.example.com Forwarding ports: 1) local:8888 -> remote:8888 ^C to exit [connected] 0:00:00 |
The tunnel will be kept alive, both by ssh and by supertunnel. If you lose your network connection for a while, or if you suddenly get cut off, supertunnel works with ssh to notice the connection failure, and seamlessly restarts the tunneling process.
That just scratches the surface of what supertunnel can do though.
Why supertunnel?
I wrote this script when I used to ride a train through a tunnel every day, and it would interrupt my connection to a Jupyter notebook on a remote server, but it is useful for a lot more – think about any time your SSH connection drops, and you have to go find that terminal window and start it up again. Now think about never doing that again. That’s what st provides.
st is designed to be fairly flexible (my needs have evolved over time) but still simple enough that someone who doesn’t want to understand the intricacies of SSH tunneling could use it.
It is written in Python 3, and relies on the command line tool library click, but just running pip install supertunnel should get you the st command.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for supertunnel-0.1rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 858bc497626149d69c0888daf8189298886633e32d5564f93bdfda0e8bc670ad |
|
MD5 | c4171dbec9a9752562bfde06b6b1a5bd |
|
BLAKE2b-256 | eff2053797f04284ba149e5e06fcff068743f42118a6514c2dbb91b9acd9cac6 |