# ~tgit-deploy/.ssh/authorized_keys on the host. `restrict` = no-pty, no port/agent/X11 forwarding; # command= makes the key run tgit-runner and nothing else, the requested command arrives as SSH_ORIGINAL_COMMAND. command="/srv/tgit/runner/tgit-runner",restrict ssh-ed25519 AAAA…bot-runner-key… tgit-runner # The CD key of the bot itself stays unrestricted (it deploys the bot; Gitea secret DEPLOY_SSH_KEY): ssh-ed25519 AAAA…cd-key… tgit-cd@gitea