Circumvent new SSH Post Quantum warnings for Git operations

sum “WARNING: connection is not using a post-quantum key exchange algorithm” making git parsers lose their mind Shut The Fuck Up.

background

my vps has openssh 8.7

$ ssh -V
OpenSSH_8.7p1, OpenSSL 3.5.1 1 Jul 2025

my computer has the dreaded version 10.0 not even 10.1

lda ❯ ssh -V
OpenSSH_for_Windows_10.0p2 Win32-OpenSSH-GitHub, LibreSSL 4.2.0

fuck ass. this damn stupid link https://openssh.com/pq.html shows you you can add WarnWeakCrypto no to the thing.
but do you know that is 10.1 features? 10.0 sees that and gets confused

So i really couldnt avoid this. lets use a different ssh client altogether

what do we have

jus as background I have this in .ssh/config:

Host gitealda
    Hostname 67
    User git
    IdentityFile "C:UsersAdmin.sshgiteakey"
    IdentitiesOnly yes

install putty

winget install -e --id PuTTY.PuTTY

convert them keys

you’ll see that there are multiple GUI apps installed. lets open puttygen to convert existing keys!

load button -> choose your existing ssh key.

Choose EdDSA.

then click save private key. (and save public key too?)

setup a profile

so it works like before (git clone gitealda:ldlda/repo) or sum

now open the PuTTY app.

Host Name => put it in.

Saved Sessions => put the nickname in

i have User git so i would go here and fill Auto-login username in as git

Come back to Session => click save…

hold! you need the key.

The Key

damn i missed this.

you need the key to connect through ssh.

to setup the key i use pageant. its another thing putty has. Pageant is like ssh-agent (which is a service windows have btw) and i throw my keys in there cuz why not.

you will either do that or you will setup your profile with the key

using pageant

pageant drop its thing on a tray icon. you can click on it. add key? or view keys. and then add the key made Here

pretty simple. now pageant will autoselect keys for you when you tryna connect to sum

while setting up the PuTTY configuration above

uhhhh go to connection > SSH > auth > credentials and then the Same private key file above you select it

there. all done

setup Git to use these settings

git config --global core.sshCommand "where tf plink is; use where.exe plink to check"

google search AI says you can also

git config --global ssh.variant plink

done!