To connect by SSH Gate you need an SSH key pair: a private key that stays on your computer and a public key that you add to your account.
Run:
bash
ssh-keygen -t ed25519 -C "your-email@example.com"
Press Enter to accept the default file, and choose a passphrase if you want one.
Show the public key and copy it:
bash
cat ~/.ssh/id_ed25519.pub
On Windows PowerShell use type $env:USERPROFILE\.ssh\id_ed25519.pub.
Never share the file without the .pub ending: that is your private key.
Run PuTTYgen, click Generate and move the mouse. Copy the public key from the box at the top of the window, and save the private key.
Add the public key to your account: see Connecting to your environment by SSH.