aboutsummaryrefslogtreecommitdiff
path: root/entrypoint.sh
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2022-12-28 23:52:07 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2022-12-28 23:52:07 -0500
commitc5017fb5f5d5ff3d438f6a07403ac0590554a8db (patch)
treed85d027ea1f5f273aece22868fc437e541b99be7 /entrypoint.sh
parentdf50ddfe09ef3176972998e6aca3482da5f22427 (diff)
downloadalpine-cgit-c5017fb5f5d5ff3d438f6a07403ac0590554a8db.tar.gz
alpine-cgit-c5017fb5f5d5ff3d438f6a07403ac0590554a8db.tar.xz
Update to the latest Alpine Linux. Few tweaks to scripts and entrypoint.
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