Compare commits

...

2 Commits

Author SHA1 Message Date
5cc5576369 better name
All checks were successful
Container Publish / on-success-skip (push) Has been skipped
Container Publish / build-image (arm64) (push) Successful in 22s
Container Publish / build-image (amd64) (push) Successful in 48s
Container Publish / update docker manifest (push) Successful in 15s
2025-07-31 10:04:06 +02:00
7f60c9b07e ssh directory should exist 2025-07-31 10:03:45 +02:00
2 changed files with 4 additions and 1 deletions

View File

@@ -6,7 +6,7 @@ PATH_STATS=${PATH_BASE}/stats
PATH_STATSDB=${PATH_BASE}/stats.db
PATH_LOGS=${PATH_BASE}/logs
PATH_AUTH=${PATH_BASE}/auth
PATH_SSH_HOST=${PATH_BASE}/ssh.host
PATH_SSH_HOST=${PATH_BASE}/ssh
WEBDAV_PORT=${WEBDAV_PORT:-8080}
STATS_PORT=${STATS_PORT:-8081}

View File

@@ -2,6 +2,9 @@
echo "# Configuring ssh"
# make sure directory exists
mkdir -p "${PATH_SSH_HOST}"
for keytype in ecdsa rsa ed25519 ; do
if [ ! -r "${PATH_SSH_HOST}/ssh_host_${keytype}_key" ] ; then
/usr/bin/ssh-keygen -t "${keytype}" -f "${PATH_SSH_HOST}/ssh_host_${keytype}_key" -N ""