Skip to content

Instantly share code, notes, and snippets.

@jandix
Last active July 22, 2019 06:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jandix/66221731a38b584158184fc3772d267d to your computer and use it in GitHub Desktop.
Save jandix/66221731a38b584158184fc3772d267d to your computer and use it in GitHub Desktop.
Add ssh-key to git provider

Create new ssh key

ssh-keygen -t rsa -b 4096 -C "your_email@example.com"

Open .ssh/config

Host github
    HostName github.com
    PreferredAuthentications publickey
    IdentityFile ~/.ssh/bla_bla
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment