aboutsummaryrefslogtreecommitdiff
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
parentdf50ddfe09ef3176972998e6aca3482da5f22427 (diff)
downloadalpine-cgit-dev.tar.gz
alpine-cgit-dev.tar.xz
devdev
-rw-r--r--.gitignore1
-rwxr-xr-xentrypoint.sh3
-rwxr-xr-xhome/update.sh2
3 files changed, 4 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 7588ddc..1c798c7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
hostkeys
homedir
+docker-compose.yml
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
diff --git a/home/update.sh b/home/update.sh
index a51490f..a484fcc 100755
--- a/home/update.sh
+++ b/home/update.sh
@@ -6,6 +6,6 @@ set -x
$HOME/list.sh \
| while read -r repo ; do
cd "$repo"
- git repack
+ git update-server-info
cd -
done