remote_port: bugfix for existing bento configurations

now REMOTE_PORT is set in `bento`, just like TIMEOUT
and therefore optional.

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
Florian Brandes 2022-12-20 10:47:58 +01:00
parent 6ec3dd7b4e
commit fcefd9e815
No known key found for this signature in database
GPG Key ID: 074048E893713170
2 changed files with 4 additions and 1 deletions

1
bento
View File

@ -1,6 +1,7 @@
#!/usr/bin/env bash
TIMEOUT=20
REMOTE_PORT=22
# FUNCTION LIBRARIES
usage() {

View File

@ -1,9 +1,11 @@
CHROOT_DIR=/home/chroot
REMOTE_IP=myserver.example
REMOTE_PORT=22
# Optional
# maxium time waiting for the SFTP connection to connect
# default value is 20
#TIMEOUT=20
# port to connect to the remote server
# default is 22
#REMOTE_PORT=22