ssh tunnel v0.4 releases: SSH tunnels to remote server
SSH tunnels to a remote server.API allows either initializing the tunnel and starting it or using a with context, which will take care of starting and stopping the tunnel.
One of the typical scenarios where sshtunnel is helpful is depicted in the figure below. Users may need to connect a port of a remote server (i.e. 8080) where only SSH port (usually port 22) is reachable.
If allowed by the SSH server, it is also possible to reach a private server (from the perspective of a REMOTE SERVER) not directly visible from the outside (LOCAL CLIENT‘s perspective).
- Change the daemon mod flag for all tunnel threads to prevent unexpected hangs (#219) (is not fully backward compatible!)
- Add docker based end to end functional tests for Mongo/Postgres/MySQL (#219)
- Add docker based end to end hangs tests (#219)
pip install sshtunnel
Copyright (c) 2014-2019 Pahaz Blinov