How to contribute

  1. Generate an SSH key pair via ssh-keygen in your terminal (make sure not to overwrite an existing key!).

  2. Add the configuration in .ssh/config to your local SSH configuration file.

  3. Point the IdentityFile parameter to your local key file location (in most cases ~/.ssh/id_ed25519 or equivalent with RSA).

  4. Go into your Gitea Settings, then SSH/GPG Keys section, then upload your public key (in most cases, a file called id_ed25519.pub).

  5. You can now contribute code!

Test connection

ssh code.kpuig.net

If this command gives you anything but an affirmative that you're configured correctly, that means you have misconfigured something, most likely in SSH but possibly in git.

Description
Provides an SSH config for committing to repos using Git over SSH
Readme 27 KiB