MySQL Forums
Forum List  »  MySQL Workbench

Re: gpg support?
Posted by: José Liébana Ortiz
Date: December 10, 2014 05:25AM

Hi Mike,

GPG is not a replacement for SSH. I use SSH for connecting to the servers :)

In my company we make use of a Yubikey https://www.yubico.com/products/yubikey-hardware/yubikey-2/
The SSH key it is saved in the yubikey itself.
Yubikey makes use of GPG https://gpgtools.org/

What i have to do in my shell is to export the variable SSH_AUTH_SOCK with the value /Users/josemi/.gnupg/S.gpg-agent.ssh
after that i can launch Sequel in this case from the command line (only) which make uses of that variable for the authentication, so i'm prompted with a screen to enter my yubikey password and then if uses it's key for the ssh authentication.

I hope that i explained myself more or less in an understandable way :)

Thank you

Options: ReplyQuote


Subject
Views
Written By
Posted
1601
December 09, 2014 04:36PM
821
December 10, 2014 02:17AM
Re: gpg support?
586
December 10, 2014 05:25AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.