Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where does GitHub for Windows keep its SSH key?

GitHub distributes a simplified Git client for Windows they call GitHub for Windows; it authenticates via GitHub account, and although it usually uses HTTPS remotes for local repositories it creates, if you tell it to use an existing local repository that has an SSH remote on GitHub, it will use your GitHub credentials to set up an SSH key on the GitHub account for itself. But where does it keep the SSH key in the filesystem?

like image 321
rakslice Avatar asked Nov 26 '13 19:11

rakslice


People also ask

Where are GitHub ssh keys stored?

SSH keys are stored in the ~/. ssh folder. You can have more than one key in there, because SSH keys are used for things other than Git.

Where can I find my SSH key Windows?

The public part of the key is saved in the id_rsa. pub file, while the private part is saved in the id_rsa file. Both files can be accessed from this location using Explorer: C:\Users\[your user name]\. ssh .

How does Git know SSH key Windows?

Once your key is open, you want to select Conversions -> Export OpenSSH key and save it to HOME\. ssh\id_rsa . After you have the key at that location, Git Bash will recognize the key and use it.


1 Answers

%HOMEDRIVE%%HOMEPATH%\.ssh\id_rsa.pub is where the key is.

like image 192
neuro_tarun Avatar answered Oct 03 '22 13:10

neuro_tarun