SSH agent prompts for all passphrases

Peter Lebbing peter at
Tue Aug 23 12:03:35 CEST 2016

On 23/08/16 11:51, Karol Babioch wrote:
> Can I somehow control the order in which the client presents its keys to
> the server? Is this something the agent controls, or the SSH client itself?

I don't know, but perhaps that's best asked on an SSH mailing list? If
it turns out that the agent has influence (for example because the
client parses the list of keys from the agent top to bottom), then it
would again be something for the GnuPG SSH agent implementation. Perhaps
the order can be influenced through the sshcontrol file, I don't know.
Maybe something changes when you list the keygrip of the smartcard key
in that file.

Or maybe the "Identity*" options in ssh_config help.

> Thanks again for your help, it is very much appreciated.

You're welcome!



I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
You can send me encrypted mail if you want some privacy.
My key is available at <>

More information about the Gnupg-users mailing list