# ~/.ssh/config entry for Gitea Host gitea HostName localhost Port 222 User git IdentityFile ~/.ssh/id_ed25519 # Or whatever your SSH key is PreferredAuthentications publickey Host localhost HostName localhost Port 222 User git IdentityFile ~/.ssh/id_ed25519 PreferredAuthentications publickey