To randomized my ssh tunnels, I use a small script. This script looks at my
~/.ssh/config for hosts with the
#socks5 after the
Host and picks one out. I use
autossh to maintain the connection.
AUTOSSH(1): autossh is a program to start a copy of ssh and monitor it, restarting it as necessary should it die or stop passing traffic.
I start the script automatic on boot with Supervisor
In i3status i watch the pidfile
/tmp/proxy.pid to get a status