aboutsummaryrefslogtreecommitdiff
path: root/entrypoint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'entrypoint.sh')
-rwxr-xr-xentrypoint.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/entrypoint.sh b/entrypoint.sh
index bf09d91..bc46d2b 100755
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -134,7 +134,8 @@ run_sshd() {
fi
cat > /etc/ssh/sshd_config <<SSH_CONFIG
-Port $SSHD_PORT
+ListenAddress 0.0.0.0:$SSHD_PORT
+ListenAddress [::]:$SSHD_PORT
ChallengeResponseAuthentication no
PasswordAuthentication no
AuthorizedKeysFile /etc/ssh/keys/%u .ssh/authorized_keys