425 B
425 B
README
To set this up, I needed to do git config core.sshcommand "ssh -p 222 -i ~/.ssh/id_rsa". For more info, check out https://medium.com/@dubry/git-server-setup-non-standard-ssh-port-part-2-e4961803bcfb
You may also want to update ~/.ssh/config to just include settings for the domain:
Host <your-hostname>
HostName <your-hostname>
Port 2222
User <your-gitea-user>
IdentityFile <private-key-path>