Skip to content

Instantly share code, notes, and snippets.

@jruizvar
Last active August 6, 2023 20:27
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jruizvar/a6215093958254d99cff587dc9d7a1cc to your computer and use it in GitHub Desktop.
Save jruizvar/a6215093958254d99cff587dc9d7a1cc to your computer and use it in GitHub Desktop.
Connect to Github using Putty

Setup SSH key to connect to Github with Putty

Open git bash and execute

ssh-keygen -t rsa -b 4096 -C "jruizvar@cern.ch"

This procedure generates two files: .ssh/id_rsa and .ssh/id_rsa.pub. Add public key to Github.

Setup SSH agent

Use puttygen to convert the private key (id_rsa) to ppk (id_rsa.ppk). Save this new private key, and execute:

pageant.exe .\.ssh\id_rsa.ppk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment