No SSH public key authentication using smartcard

Thomas Schneider t.schneider at
Sat Nov 25 13:24:31 CET 2023

Hello Stephan,

thanks for your reply.

When you say I should modify ~/.ssh/config, where is this file?
On jumphost?

Actually I have a working setup on Windows 10, but here I use another 
terminal emulator: MobaXterm.
And in the settings of MobaXterm I enabled SSH forwarding.

As of now I don't want to continue using MobaXterm on Windows 11, but 
using Windows Terminal.


Am 25.11.23 um 12:30 schrieb Stephan Verbücheln via Gnupg-users:
> Coincidentally, I have a similar setup. Fortunately, you do *not* need
> Agent Forwarding for authentication via jump hosts.
> The entry for your host (in “~/.ssh/config”) for this host should look
> something like this:
> Host myalias
>      HostName
>      ProxyJump
>      IdentityAgent %d/.gnupg/S.gpg-agent.ssh
> There may be some Windows-specific pitfalls. Perhaps you have to be
> careful with the line breaks (Unix versus Windows convention) in the
> configuration files.
> Regards
> Stephan
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at

More information about the Gnupg-users mailing list