You should not use the Open SSH client that comes with Git for Windows. Instead, Windows 10 has its own implementation of Open SSH that is integrated with the system. To achieve this:
- Generate your SSH identity file:
- Open a PowerShell Window and type
ssh-keygen -t <key-format> -b <bit-length> -C "<key-message>"
into it. - Choose a key-format of your interest:
- RSA (secure): 2048, 3072 or 4096 key bits possible, highly secure only with long key lengths.
- ed25519 (very secure): only 256 key bits possible (-b option unused), but highly secure and high performing.
- ECDSA (very secure): 256, 384 or 521 key bits possible, highly secure.
- DSA (weak, maybe disabled): 1024 key bits possible, weak encryption, not recommended.
- I personally prefer long RSA keys or ed25519 encryption method.