2023-02-28 18:12:44 +00:00
2022-12-05 21:15:19 +00:00
2023-02-28 18:12:44 +00:00
2023-02-28 18:12:44 +00:00

tunnelkeeper

TunnelKeeper keeps SSH tunnels open

Install it as a service with tunnelkeeper install.

Edit the config file /opt/tunnelkeeper/etc/tunnelkeeper.conf. If you make changes to tunnelkeeper.conf, run systemctl restart tunnelkeeper.

There are 3 sections:

settings

  • debug [0..3]: Debug logging levels 0 (no logging) to 3 (too much logging).
  • timeout: Echo check timeout for watched connections.

ssh

  • It's an ssh config file, so see man ssh_config for information. TunnelKeeper will connect to each host listed, and make sure every connection in tunnelkeeper.conf stays open in the background.
  • There are 2 options that aren't available in normal ssh config files:
    • Watch : Enables an echo test on the host at regular intervals.
    • Password : Uses screen to log in with a password. This is insecure, since the password is in plaintext, so use passwordless auth if possible.
Description
TunnelKeeper keeps SSH tunnels open
Readme 114 KiB
Languages
Shell 100%