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:
parent
ba964e279c
commit
4b20aaf66e
@ -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} "$@"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user