This commit is contained in:
Gordon Grant-Stuart 2022-12-05 21:24:17 +00:00
parent 255040e009
commit 05a8035f70
2 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,8 @@
[tunnelkeeper]
[settings]
debug 0
[ssh] # Everything below here obeys the same rules as ~/.ssh/config
[ssh]
# Everything in this section obeys the same rules as ~/.ssh/config
# Examples
# Host server1

View File

@ -9,7 +9,7 @@ awk -v "dir=$BASEDIR/var" '
!/^\[/ {print >> dir"/"sec".conf"}' < $BASEDIR/etc/tunnelkeeper.conf
SSHCONF="$BASEDIR/var/ssh.conf"
TKCONF="$BASEDIR/var/tunnelkeeper.conf"
TKCONF="$BASEDIR/var/settings.conf"
if [[ ! -f "$SSHCONF" ]]; then
echo "Config file \"$SSHCONF\" does not exist"