1
0
mirror of https://github.com/tmate-io/tmate-ssh-server.git synced 2020-11-18 19:53:51 -08:00

SSH port is configurable in docker

This commit is contained in:
Nicolas Viennot 2019-08-20 02:40:25 -04:00
parent ba964e279c
commit 4b20aaf66e

View File

@ -9,4 +9,4 @@ if [ ! -z "${SSH_HOSTNAME}" ]; then
set -- -h "${SSH_HOSTNAME}" "$@" set -- -h "${SSH_HOSTNAME}" "$@"
fi fi
exec tmate-ssh-server -p 2200 -k ${SSH_KEYS_PATH} "$@" exec tmate-ssh-server -p ${SSH_PORT:-2200} -k ${SSH_KEYS_PATH} "$@"