ssh and gnupg
gnupg at lists.grepular.com
gnupg at lists.grepular.com
Sat Jan 14 20:40:19 CET 2012
On 14/01/12 18:39, gnupg at lists.grepular.com wrote:
> Is there a simple howto for getting ssh authentication working with
> GnuPG v2? I've used gpgkey2ssh to get the public key and added it to
> authorized_keys, but I don't know what I'm supposed to do on the ssh
> client end? gpg-agent is running with --enable-ssh-support
Figured out my problem. SSH_AUTH_KEY environment variable was being
overwritten. On Ubuntu I went to:
System -> Preferences -> Startup Applications
Found "SSH Key Agent" which runs the command
"/usr/bin/gnome-keyring-daemon --start --components=ssh" and then
disabled it. Logged out and back in again, and SSH_AUTH_KEY was set
correctly, and "ssh-add -L" started to show my authentication key on the
smartcard. ssh works fine now.
--
Mike Cardwell https://grepular.com/ http://cardwellit.com/
OpenPGP Key 35BC AF1D 3AA2 1F84 3DC3 B0CF 70A5 F512 0018 461F
XMPP OTR Key 8924 B06A 7917 AAF3 DBB1 BF1B 295C 3C78 3EF1 46B4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 598 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20120114/2dd837a4/attachment.pgp>
More information about the Gnupg-users
mailing list