On Sun, Jul 6, 2014 at 9:18 PM, Chris Stankevitz <chrisstankev...@gmail.com> wrote: > On Sun, Jul 6, 2014 at 5:45 PM, Rich Freeman <ri...@gentoo.org> wrote: >> GPG_AGENT_INFO tells ssh to use gpg-agent. > > Are you saying that the ssh software checks for the presence of the > GPG_AGENT_INFO environment variable?
Actually, I'm probably wrong on that. In ssh agent mode I think that gpg-agent also exports SSH_AUTH_SOCKET or something like that and emulates ssh-agent, in addition to exporting GPG_AGENT_INFO. If somebody knows the details feel free to post. For the most part most desktop environments configure it to "just work." Rich