diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2022-12-20 13:21:43 -0500 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2022-12-20 13:21:43 -0500 |
| commit | b134b19acabc486a24aa46c7642f02084d0e1906 (patch) | |
| tree | 054f04563a64966c671ced55318982bd82e7f260 | |
| parent | df50ddfe09ef3176972998e6aca3482da5f22427 (diff) | |
| download | alpine-cgit-dev.tar.gz alpine-cgit-dev.tar.xz | |
devdev
| -rw-r--r-- | .gitignore | 1 | ||||
| -rwxr-xr-x | entrypoint.sh | 3 | ||||
| -rwxr-xr-x | home/update.sh | 2 |
3 files changed, 4 insertions, 2 deletions
@@ -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 |
