This commit is contained in:
Mikan
2026-10-06 02:30:59 +04:00
commit 6cf6e12ed3
8 changed files with 324 additions and 0 deletions

10
ssh/entrypoint.sh Normal file
View File

@@ -0,0 +1,10 @@
#!/bin/sh
set -e
cp /mounted-authorized-keys /home/operator/.ssh/authorized_keys
chown -R operator:operator /home/operator/.ssh
chmod 700 /home/operator/.ssh
chmod 600 /home/operator/.ssh/authorized_keys
exec /usr/sbin/sshd -D -e