René is a french idiotic mole.
A mole digs tunnel.
Rened is a daemon to handle tunnels.
I wanted a simple way to handle many ssh tunnels from a single file/daemon. And rely only on paramiko.
On ubuntu/debian, I think the best option is to rely on apt-provided python packages :
sudo apt install python3-paramiko python3-click python3-colorlog
Then you can "autostart" it with your desktop session.
It will definitely work with pip and venvs, but will make the autostart things much sketchier.
pip install -r requirements.txt
rened.py [-v] config_file
- If
config_file
is omitted, it will try to open~/.rened.json
. Use the providedrened.conf.json
as a template -v/--verbose
will switch to debug mode, for a surprising volume of mildly interesting logs.
This script is based on this demo from paramiko.
https://github.com/paramiko/paramiko/blob/master/demos/forward.py
- systemd user-script (so it start with your session)
- install script
https://www.youtube.com/watch?v=24pUKRQt7fk
(yes, it's this bad.)