Git - how to set SSH key to git


#1

On Mac

  1. Open Terminal, and command
    ssh-keygen -o -t rsa -b 4096 -C "email@example.com"
    then commend
    pbcopy < ~/.ssh/id_rsa.pub

  2. Go to git > Mypage > setting > SSH key

  3. On Key box, click Command + V, then add

image