This post will give you overview of how you can enable SSH based authentication on your Tortoise Git Client application and clone repository locally using SSH URL.
Below applications are required.
1) Tortoise Git Client
2) PuTTYgen
3) Pageant(Putty Authentication Agent)
Below are the steps to configuration:
1) Open PuTTYgen to generate keys for SSH.
2) Drag mouse pointer into blank area to create randomness in your key.
3) Save Private and Public both keys into your local file system.
4) Copy Public key from PuTTYgen UI.
--------------------------------------------------
BitBucket Settings
--------------------------------------------------
5) Open BitBucket server UI and login using your credentials.
6) Go to User -> Manage Account -> SSH Keys.
7) Click on "Add Key" and paste copied public key into text box.
8) Click on "Add Key" button to save key on server.
------------------------------------------------
Pageant Settings
------------------------------------------------
9) Open Pageant application ( Its location is in Tortoise Git/bin folder)
10) Click Add Key button to add private key to Pageant.
You are all set to run Tortoise Git Client to clone any repository from Bit Bucket server.
To Clone Repository:
1) Login to BitBucket UI and select repository to clone.
2) Click clone button on left side menu to copy SSH URL for repository.
3) Open you file system location where you want to clone repository.
4) Right click and select
5) Paste repository URL in URL field.(This usually get populated if you copied it in your clipboard)
6) Select private key you have save in above steps and click OK button to start cloning process.
7) It will show progress information and success message in next screen.
Below applications are required.
1) Tortoise Git Client
2) PuTTYgen
3) Pageant(Putty Authentication Agent)
Below are the steps to configuration:
1) Open PuTTYgen to generate keys for SSH.
2) Drag mouse pointer into blank area to create randomness in your key.
3) Save Private and Public both keys into your local file system.
4) Copy Public key from PuTTYgen UI.
BitBucket Settings
--------------------------------------------------
5) Open BitBucket server UI and login using your credentials.
6) Go to User -> Manage Account -> SSH Keys.
7) Click on "Add Key" and paste copied public key into text box.
8) Click on "Add Key" button to save key on server.
------------------------------------------------
Pageant Settings
------------------------------------------------
9) Open Pageant application ( Its location is in Tortoise Git/bin folder)
10) Click Add Key button to add private key to Pageant.
You are all set to run Tortoise Git Client to clone any repository from Bit Bucket server.
To Clone Repository:
1) Login to BitBucket UI and select repository to clone.
2) Click clone button on left side menu to copy SSH URL for repository.
3) Open you file system location where you want to clone repository.
4) Right click and select
5) Paste repository URL in URL field.(This usually get populated if you copied it in your clipboard)
6) Select private key you have save in above steps and click OK button to start cloning process.
7) It will show progress information and success message in next screen.