Share Share on Facebook Share on Twitter Pinterest LinkedIn Email First you’ll want to cd into your .ssh directory. Open up the terminal and run: cd ~/.ssh && ssh-keygen Next you need to copy this to your clipboard. On OS X run: cat id_rsa.pub | pbcopy 0 siddharth018 Related Posts How to change the URI (URL) for a remote Git repository? May 18, 2020 fatal: remote origin already exists. April 18, 2020 Adding a new SSH key to your GitHub account January 17, 2020 Git install in ubuntu November 25, 2019 Write A Comment Cancel Reply Save my name, email, and website in this browser for the next time I comment.