Initialize ChuBlog backend with SSH Git publishing

This commit is contained in:
TheBadRoger committed 2026-10-15 20:08:15 +08:00
commit a631d75cee
31 files changed
+4850

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
set -eu
mkdir -p /run/sshd
if [ ! -f /host-keys/ssh_host_ed25519_key ]; then
ssh-keygen -q -t ed25519 -N '' -f /host-keys/ssh_host_ed25519_key
fi
exec /usr/sbin/sshd -D -e