1
0
mirror of https://github.com/tmate-io/tmate-ssh-server.git synced 2020-11-18 19:53:51 -08:00
This commit is contained in:
Nicolas Viennot 2019-08-19 23:21:50 -04:00
parent b2dc743aa6
commit ba964e279c

View File

@ -5,8 +5,8 @@ if [ "${USE_PROXY}" == "1" ]; then
set -- -x localhost "$@" set -- -x localhost "$@"
fi fi
if [ ! -z "${HOSTNAME}" ]; then if [ ! -z "${SSH_HOSTNAME}" ]; then
set -- -h "${HOSTNAME}" "$@" set -- -h "${SSH_HOSTNAME}" "$@"
fi fi
exec tmate-ssh-server -p 2200 -k ${SSH_KEYS_PATH} "$@" exec tmate-ssh-server -p 2200 -k ${SSH_KEYS_PATH} "$@"