[X] Make sure you are able to repro it on the latest version
[X] Search the existing issues.
Steps to reproduce
I connect a Nitrokey security-token (that is comparable to Yubikey) with OpenPGP keys to my client.
And I want to use this Nitrokey for SSH login to remote servers.
For this I installed GPG4Win on my client and configured file gpg-agent.conf:
enable-ssh-support
enable-putty-support
#To Enable support for the native Microsoft OpenSSH binaries (requires gpg 2.4.0 / Gpg4win 4.1.0 or higher)
enable-win32-openssh-support
use-standard-socket
default-cache-ttl 600
max-cache-ttl 7200
Then I (re-) start the gpg-agent and try to SSH into the Jumphost using command ssh (in Windows PowerShell profile).
Here I get a popup window where I must enter the PIN previously set on Nitrokey.
After this I'm connected to the jumphost shell (Linux).
Now I want to connect to the target server using command ssh. Here I must enter my user password.
I think this fails because SSH agent forwarding is not working.
Expected behavior
Public key authentication for SSH connection to any target server from jumphost.
Actual behavior
I need to enter (user) password requested by target server.
Prerequisites
Steps to reproduce
I connect a Nitrokey security-token (that is comparable to Yubikey) with OpenPGP keys to my client. And I want to use this Nitrokey for SSH login to remote servers.
For this I installed GPG4Win on my client and configured file gpg-agent.conf:
Then I (re-) start the gpg-agent and try to SSH into the Jumphost using command ssh (in Windows PowerShell profile). Here I get a popup window where I must enter the PIN previously set on Nitrokey. After this I'm connected to the jumphost shell (Linux).
Now I want to connect to the target server using command ssh. Here I must enter my user password.
I think this fails because SSH agent forwarding is not working.
Expected behavior
Public key authentication for SSH connection to any target server from jumphost.
Actual behavior
I need to enter (user) password requested by target server.
Environment data
Windows Terminal version 1.18.2822.0
Windows build number 11.0.22621.2715
Other Software Gpg4win 4.2.0
Version
OpenSSH_for_Windows_8.6p1, LibreSSL 3.4.3