I am trying to use ssh-agent to allow passphrase-less use of an ED25519 SSH key with a passphrase to sign a Git commit.
However, whenever I do a commit from command line I am asked for the passphrase every time. I believe this is a configuration issue as Visual Studio is working as expected, just not the command line or Visual Studio Code.
I am using the standard Windows environment, not Git Bash or WSL.
- ssh-agent is setup to run on boot and verified
ssh-add -lshows the correct key has been added- I have set
GIT_SSHto C:\Windows\System32\OpenSSH\ssh.exe
Git configuration-wise
core.sshCommand = C:/Windows/System32/OpenSSH/ssh.exesigningkeyis set to the key added tossh-agentcommit.gpgsign = truegpg.format = ssh
OS Windows 10 22H2
Git 2.49.0.windows.1
Terminal 1.22.10731.0
PowerShell 7.5.0
