GnuPG's Secure Shell (SSH) support in file '/etc/bashrc' (The Bash Shell Startup Files)

"Jamenson Espindula" ([email protected] via blfs-dev Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.devel
Message-ID <CAOW_YO=pHAGwDJAVuBigHBH_=n7_Mb9nhuEsiOYFXq28Vfx4fw@mail.gmail.com>
Hi all.

Quoted from the Info page of the GnuPG:

 = = = Transcription begins = = =

If you enabled the Ssh Agent Support, you also need to tell ssh about
it by adding this to your init script:

     unset SSH_AGENT_PID
     if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
       export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
     fi

 = = = Transcription ends = = =

I figured out that the 'GPG_TTY' environment variable already was
added to the '/etc/bashrc', allowing the program 'pinentry' to work
properly.

So, I would suggest to include the above piece of code, to make the
Secure Shell support of the GnuPG to work properly too.

Best regards.

Jamenson Ferreira Espindula de Almeida Melo
Jaboatão dos Guararapes, Pernambuco, Brazil
GNU/Linux user #166197; LFS ID 24492
Key fingerprint: 234D 1914 4224 7C53 BD13 6855 2AE0 25C0 08A8 6180

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.