The MINGW64 bash doesn’t pop-up the KeeAgent public keys window, when I start ssh connection or git pull/fetch in MINGW64 bash command line. I have the required keys available in KeePass v2.59.
Using Windows 10, latest KeeAgent plugin version, KeePass.
In MINGW64 command line I type:
ssh -v user@111.222.333.444
OpenSSH_9.1p1, OpenSSL 1.1.1s 1 Nov 2022
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to 111.222.333.444 [111.222.333.444] port 22.
debug1: Connection established.
...
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /c/Users/user/.ssh/id_rsa
...
debug1: Next authentication method: password
user@111.222.333.444's password:
I always get password request in command line (and also for Git Extensions Push or Fetch actions).
Problem:
I was not able to get the KeeAgent’s “Select a key” pop-up window when initiated SSH connection or using git.exe or using Git Extensions to connect to a repo.
I searched a lot for a solution on the net and read the KeeAgent docs for solution.
I found a lot of solutions, but none of them worked.
I have set the GIT_SSH and SSH_AUTH_SOCK variables at system level, set the SSH_AUTH_SOCK sockets in KeeAgent, but still asks for password instead of public key authentication.
Any idea what I do wrong?