You can use SSH with TortoiseGit to improve your security and transfer performance.
TortoiseGit ships with Puttygen to generate the key.
Check out this how-to video and follow along at home.
Step by Step - Set up SSH in TortoiseGit
Right click in a file explorer and select TortoiseGit→Settings.
.png)
TortoiseGit settings is selected and outlined in red.
Select Network.
Enter the location of your SSH client in the “SSH Client:” field and then click OK.
common locations are:
c:\Program Files\Git\usr\bin\ssh.exe
C:\Windows\System32\OpenSSH\ssh.exe
.png)
Under settings, the network settings are opened. The location of the SSH client is entered in the SSH client text prompt. There is an ok, cancel, apply, and help button at the bottom. Ok is outlined in red.
Test SSH key
Copy a SSH repo link, either from our example, or from your own repository.
Example URL: git@hub.allspice.io:johnny-5/HelloWorld.git
.png)
Example repo is opened in the file tab with the repo link pasted in the SSH/HTTPS prompt on the right. Copy URL button is hovered over and outlined in red.
Right click in a file explorer window and select Git Clone.
.png)
Git clone is selected after right-clicking in a file explorer.
Enter the SSH link into the URL field and verify that the Directory is the correct location then click OK.
.png)
Git clone - TortoiseGit is opened. Under clone existing repository, the SSH link is entered into the URL, which is also outlined in red. At the bottom the ok button is outlined in red.
You may be prompted to enter your passphrase.
.png)
Enter passphrase prompt.
This is an example of a successful clone:
.png)
successful clone example.
Congratulations
You are now set up to use TortoiseGit with SSH! You should be able to commit changes and push them to Allspice Hub.
If you still have questions, reach out to us at support@allspice.io