summaryrefslogtreecommitdiffstats
path: root/docker/root/etc/s6/openssh/setup
diff options
context:
space:
mode:
Diffstat (limited to 'docker/root/etc/s6/openssh/setup')
-rwxr-xr-xdocker/root/etc/s6/openssh/setup1
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/root/etc/s6/openssh/setup b/docker/root/etc/s6/openssh/setup
index 10d195b74f..2a5eb9b09f 100755
--- a/docker/root/etc/s6/openssh/setup
+++ b/docker/root/etc/s6/openssh/setup
@@ -26,6 +26,7 @@ fi
if [ -d /etc/ssh ]; then
SSH_PORT=${SSH_PORT:-"22"} \
+ SSH_LISTEN_PORT=${SSH_LISTEN_PORT:-"${SSH_PORT}"} \
envsubst < /etc/templates/sshd_config > /etc/ssh/sshd_config
chmod 0644 /etc/ssh/sshd_config