Configure real git user ======================= Create git user: ``` shell . ./env groupadd -g "${PUID}" git useradd -g git -u "${PGID}" git -d "$(pwd)"/data/gitea/data/git usermod -a -G docker git ``` /app/gogs/gogs: (chmod +x) ``` #!/bin/sh docker exec -e SSH_ORIGINAL_COMMAND="${SSH_ORIGINAL_COMMAND}" gitea-gitea $0 "$@" ``` /etc/ssh/sshd_config: ``` Match user git PasswordAuthentication no ```