Skip to content

Instantly share code, notes, and snippets.

View Mohamed-Ghareeb's full-sized avatar

Mohamed Ghareeb Mohamed-Ghareeb

View GitHub Profile
@Mohamed-Ghareeb
Mohamed-Ghareeb / README.md
Created September 8, 2024 21:22 — forked from moaalaa/README.md
Setup SSH keys for use with GitHub/GitLab/BitBucket etc

Create a new repository, or reuse an existing one.

Generate a new SSH key:

ssh-keygen -t rsa -C "[email protected]"

Copy the contents of the file ~/.ssh/id_rsa.pub to your SSH keys in your GitHub account settings (https://github.com/settings/keys).

Test SSH key: