How to upload an SSH key
Generate an SSH key
Use an Ed25519 key unless your system requires a different key type.
Windows
- Open PowerShell.
- Run
ssh-keygen -t ed25519 -C "you@example.com". - Press Enter to accept the default file location.
- Optionally enter a passphrase when prompted.
- Copy the public key with
Get-Content $env:USERPROFILE\.ssh\id_ed25519.pub.
macOS
- Open Terminal.
- Run
ssh-keygen -t ed25519 -C "you@example.com". - Press Enter to accept the default file location.
- Optionally enter a passphrase when prompted.
- Copy the public key with
cat ~/.ssh/id_ed25519.pub.
Linux
- Open your terminal.
- Run
ssh-keygen -t ed25519 -C "you@example.com". - Press Enter to accept the default file location.
- Optionally enter a passphrase when prompted.
- Copy the public key with
cat ~/.ssh/id_ed25519.pub.
Upload the key to NobGit
- Click your account menu in the top right.
- Click Settings.
- Open Git access.
- Find Optional SSH key.
- Enter a recognizable Key name, such as
Work laptop. - Paste the public key into Public key. It should start with a type such as
ssh-ed25519. - Select Add SSH key.
Use the SSH clone URL shown in the repository clone panel after the key is saved.