Skip to content

Instantly share code, notes, and snippets.

View jonha892's full-sized avatar

Jonas Halstrup jonha892

View GitHub Profile
@MatheusPoliCamilo
MatheusPoliCamilo / ssh.md
Last active December 10, 2024 17:04 — forked from EdnilsonRobert/ssh.md
Multiple SSH keys for GitHub and GitLab

Multiple SSH keys for GitHub and GitLab

1. Generate SSH keys

ssh-keygen -t ed25519 -C "[email protected]" -f ~/.ssh/id_rsa_github
ssh-keygen -t ed25519 -C "[email protected]" -f ~/.ssh/id_rsa_gitlab

2. Copy keys to GitHub and GitLab