16 lines
927 B
Markdown
16 lines
927 B
Markdown
# 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. |