Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: GnuPG: users

ssh and gnupg

 

 

GnuPG users RSS feed   Index | Next | Previous | View Threaded


gnupg at lists

Jan 14, 2012, 10:39 AM

Post #1 of 3 (246 views)
Permalink
ssh and gnupg

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

--
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
Attachments: signature.asc (0.58 KB)


gnupg at lists

Jan 14, 2012, 11:40 AM

Post #2 of 3 (240 views)
Permalink
Re: ssh and gnupg [In reply to]

On 14/01/12 18:39, gnupg [at] lists 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
Attachments: signature.asc (0.58 KB)


jrollins at finestructure

Jan 21, 2012, 4:41 PM

Post #3 of 3 (235 views)
Permalink
Re: ssh and gnupg [In reply to]

On Sat, 14 Jan 2012 18:39:16 +0000, gnupg [at] lists 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

Hi. You might also look at the Monkeysphere project, whose goal is to
ease the use of OpenPGP/gnupg for ssh authentication:

http://web.monkeysphere.info/

jamie.

GnuPG users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.