mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08:00
9 lines
216 B
Bash
Executable File
9 lines
216 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
if [ "${USE_PROXY}" == "1" ]; then
|
|
exec tmate-ssh-server -p 2200 -k ${SSH_KEYS_PATH} -h ${SSH_HOSTNAME} -x localhost
|
|
else
|
|
exec tmate-ssh-server -p 2200 -k ${SSH_KEYS_PATH} -h ${SSH_HOSTNAME}
|
|
fi
|