IT:AD:SSH:HowTo:Create a Public/Private Key Using Git Gui
Summary
BitBucket and Git both offer communication over HTTPS and SSH.
SSH is less chatty and more secure.
But before you can do that, you need to create a public/private key pair, and give the public key to Git/Bitbucket.
There are two ways of doing it.
- From the Git Bash/ shell, as described here: Private Key Using Git Bash
- From the Git Gui/ interface…which is easier, but doesn't show you what's going on.
Doing it manually is recommended.
Process
Prerequisites
On Windows:
- Install Git Extensions/ for windows:
Using Git GUI
On Windows:
- Start Git Extensions/'s
Git GUI - Click
Help - Click
Show SSH Key
- It will show the public key (not the private key):
- Note that even if there are two keys, it will show the default
id_*one (TODO:why?)
If there was no public/private id_* key (even if there is the github_ ones), you could easily have generated a new one:
Configure SSH to use the right Key
It's useful to associate to each target, which key to use.
Not sure how this is done, if not done the manual way:
Associate SSH to Bash
Easy enough:



