diff --git a/entrypoint-devpod.sh b/entrypoint-devpod.sh index 2f5b487..246c8fa 100644 --- a/entrypoint-devpod.sh +++ b/entrypoint-devpod.sh @@ -6,6 +6,8 @@ ssh-keygen -A # Write authorized keys from env if provided if [ -n "$SSH_AUTHORIZED_KEYS" ]; then + mkdir -p /root/.ssh + chmod 700 /root/.ssh echo "$SSH_AUTHORIZED_KEYS" > /root/.ssh/authorized_keys chmod 600 /root/.ssh/authorized_keys fi