please refer the initial configuration guide from https://www.woojin.help/gitlab/
1.1 Generate SSH Key
Open Git Bash
In the terminal, type:
ssh-keygen -t rsa -b 4096 -C “user.name@woojin.at” # Press Enter to save in default location: C:\Users\YourName\.ssh\id_rsa# Optionally set passphrase or press Enter for no passphrase
1.2 Add to GitLab
In the terminal, type:
cat ~/.ssh/id_rsa.pub OR
notepad ~/.ssh/id_rsa.pub
and Copy public key content.
Add to GitLab: Go to GitLab > Settings > SSH Keys
Paste the public key. Add title (e.g., “Work PC”) Click “Add key”
1.3 Test SSH Connection
In the terminal,
ssh -T git@gitlab.woojin.help # Expected response:# Welcome to GitLab, @username!
2. TortoiseGit Configuration
2.1 Convert Key to PPK
Open PuTTYgen
load key : Browse to: C:\Users\YourName\.ssh\id_rsa
Click “Save private key”
Save as: C:\Users\YourName\.ssh\[KEY_NAME].ppk
2.2 Configure Pageant
Start Pageant: C:\Program Files\TortoiseGit\bin\pageant.exe
Add key: Right-click Pageant icon in system tray
Select “Add Key”Browse to [KEY_NAME].ppk
2.2 Test TortoiseGit
Right-click in repository folder, TortoiseGit > Pull Should work without password prompt
2.3 Create Batch script for autostart of Pageant and loading the private key
Create startup script (start_pageant.bat):
@echo off
start “” “C:\Program Files\TortoiseGit\bin\pageant.exe” “P:.ssh\[KEY_NAME].ppk”
save the file in
C:\Users\[username]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup