aboutsummaryrefslogtreecommitdiff
path: root/entrypoint.sh
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2022-12-20 13:21:43 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2022-12-20 13:21:43 -0500
commitb134b19acabc486a24aa46c7642f02084d0e1906 (patch)
tree054f04563a64966c671ced55318982bd82e7f260 /entrypoint.sh
parentdf50ddfe09ef3176972998e6aca3482da5f22427 (diff)
downloadalpine-cgit-b134b19acabc486a24aa46c7642f02084d0e1906.tar.gz
alpine-cgit-b134b19acabc486a24aa46c7642f02084d0e1906.tar.xz
devdev
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