Skip to content

Instantly share code, notes, and snippets.

@mimukit
mimukit / SSH key setup.md
Last active October 11, 2024 11:38
Quick guide for SSH setup on macOS
  1. Setup ssh key on your pc (skip this step if you already have it)
    • Run this command with your email address instead of your_email@example.com .
    ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
    
    • Start the ssh-agent in the background.
    eval "$(ssh-agent -s)"
    
  • Add your SSH private key to the ssh-agent and store your passphrase in the keychain.