How to enable gpg-agent for a user in RHEL 6

Solution Verified - Updated -

Issue

  • The gpg-agent is not caching passphrases for us. How to enable it?
  • Most gpg commands give the can't connect to '/home/user/.gnupg/S.gpg-agent' warning. How can we turn on gpg-agent?

Environment

  • Red Hat Enterprise Linux 6
  • gnupg2-2.0.14*

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In