#!/bin/sh # Gitea SSH server as exposed to host CONTAINER_SSH_HOST=127.0.0.1 CONTAINER_SSH_PORT=3001 ssh -p $CONTAINER_SSH_PORT -o StrictHostKeyChecking=no git@$CONTAINER_SSH_HOST "SSH_ORIGINAL_COMMAND=\"$SSH_ORIGINAL_COMMAND\" /app/gitea/gitea $@"