use gpg-agent for ssh login
Alexander Paetzelt | Nitrokey
alex at nitrokey.com
Thu May 3 11:42:27 CEST 2018
did you install gnupg2 as well? OpenPGP Card 3.3 is not supported by
oldoldold version 1.4 ... I don't know if gnupg2 is installed by default
on Kubuntu and I don't know if gnupg2 is recent enough on 16.04 either.
You may install the stable debian ones if needed. They should be able to
work with the card.
On 03.05.2018 10:09, Jonas Hegemann wrote:
> I'm trying to configure gpg-agent and SSH with a GnuPG Key Card Version
> 3.3, but ssh only drops the message: "the agent has no identities." in
> response to "ssh-add -L".
> My system:
> Linux (K)ubuntu 16.04
> My software versions:
> gpg 1.4.20
> gpg-agent 2.1.11
> libgcrypt 1.6.5
> My configuration:
> Starting the agent:
> killall scdaemon
> killall gpg-agent
> eval $( gpg-agent --daemon --enable-ssh-support )
> Setting the environment variables:
> GPG_TTY=/dev/pts/1 (corresponding to used terminal)
> note that 2588 is the PID of the gpg-agent here.
> scdaemon is running (started by gpg-agent)
> pcscd is NOT running.
> default-cache-ttl 21600
> default-cache-ttl-ssh 21600
> pinentry-program /usr/bin/pinentry-gtk-2
> After carefully reviewing my configuration and restarting my agent I still
> get a message "The agent has no identities." in response to "ssh-add -L".
> However, the status of the smart-card looks fine and all the keys are
> present on the card. Why does ssh not see the keys? Does anyone have a
> suggestion for changes? Are there specific issues with the card version
> Thanks in advance
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
More information about the Gnupg-users