Skip to content

Instantly share code, notes, and snippets.

@NguyenTrungTin
Created May 14, 2018 09:52
Show Gist options
  • Save NguyenTrungTin/62d8f1689bd8828c41dc469c9dfe4f88 to your computer and use it in GitHub Desktop.
Save NguyenTrungTin/62d8f1689bd8828c41dc469c9dfe4f88 to your computer and use it in GitHub Desktop.
Create new SSH key

Generate new ssh key

$ 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 privarte key to ssh-agent

$ ssh-add -K ~/.ssh/id_rsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment