SSH Knowledge
Generate an SSH Key
ssh-keygen -t ed25519 -a 100
# -t: Key type
# -a: Rounds. Higher numbers result in slower passphrase verification and increased resistance to brute-force password cracking
Resources
- Creating SSH keys: https://docs.codeberg.org/security/ssh-key/
Copy SSH key on MacOS
pbcopy < ~/.ssh/id_jro_cambria-labs_codeberg
Add SSH key to agent
ssh-add (PATH TO FILE)
# Example: ssh-add ~/.ssh/id_jro_cambria-labs_codeberg
Add SSH key to Codeberg
https://codeberg.org/user/settings/keys
Verify SSH connection to Codeberg
ssh -T git@codeberg.org