From 966b62d9bd7e483f1e9484a5a99d8c2db475171c Mon Sep 17 00:00:00 2001 From: prospanclaudebot Date: Fri, 10 Jul 2026 22:10:31 +0000 Subject: initial import: pacan-git --- ssh/entrypoint.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 ssh/entrypoint.sh (limited to 'ssh/entrypoint.sh') diff --git a/ssh/entrypoint.sh b/ssh/entrypoint.sh new file mode 100755 index 0000000..c255adf --- /dev/null +++ b/ssh/entrypoint.sh @@ -0,0 +1,20 @@ +#!/bin/sh +set -e +mkdir -p /repos /keys /home/git/.ssh /run/sshd +touch /keys/authorized_keys +chown -R git:git /home/git/.ssh 2>/dev/null || true +chmod 700 /home/git/.ssh +ssh-keygen -A +cat > /etc/ssh/sshd_config <