Back to Browse

Setting Up SSH Keys for GitHub Mac In 2 Minutes

4.0K views
Jul 28, 2025
1:57

Setting up SSH for GitHub on macOS Sequoia and Tahoe 2025. Step 1 - ssh-keygen -t ed25519 -C "[email protected]" # This creates a new SSH key, using the provided email as a label. Step 2 - $ cat ~/.ssh/id_ed25519.pub | pbcopy # Copies the contents of the id_ed25519.pub file to your clipboard. Step 3 - ssh -T [email protected] # Attempts to ssh to GitHub. Github docs - https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent 00:00 - Intro 00:17 - Step 1: Open Terminal and generate an SSH key 00:37 - Step 2: Save the key and choose a passphrase 00:55 - Step 3: Copy your SSH public key to clipboard 01:09 - Step 4: Add the key to GitHub settings 01:31 - Step 5: Test your SSH connection Please Let me know in the comments if you ran into any issues, or if you'd like a full Git + GitHub workflow tutorial next. #github #ssh #macos #git #codingtutorial #terminal #developers #github #ssh #git #macos

Download

0 formats

No download links available.

Setting Up SSH Keys for GitHub Mac In 2 Minutes | NatokHD