Skip to content

Instantly share code, notes, and snippets.

@rbialek
Created June 7, 2011 13:32
Show Gist options
  • Save rbialek/1012262 to your computer and use it in GitHub Desktop.
Save rbialek/1012262 to your computer and use it in GitHub Desktop.
ssh/.config
Host github.com
User git
Hostname github.com
PreferredAuthentications publickey
IdentityFile /home/user/.ssh/id_rsa
@gpalazzo
Copy link

thanks for that!

@XedinUnknown
Copy link

This sort of configuration appears to be required if you want to use PHPStorm to clone from VCS via WSL.

@chrisliu1995
Copy link

chrisliu1995 commented Nov 22, 2023

 ssh-add {rsa_file} 

It works.

@ilya-shmel
Copy link

@rohitchormale, you're genius!!!

@bluka1
Copy link

bluka1 commented Mar 15, 2024

@rohitchormale thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment