Public bug reported: As mentioned in https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1244736 the ssh-agent upstart script does not check if an ssh-agent instance is already running. This is bad, but fixing this bug does not prevent ssh-agent to be launched when gpg-agent is also used. The gpg-agent upstart script test whether gpg-agent is used or not using the following line: grep -qs '^[[:space:]]*use-agent' "$GNUPGHOME/gpg.conf" "$GNUPGHOME/options" || { stop; exit 0; } This should be used to decide whether or not to run ssh-agent. (Note that the gpg-agent upstart script does not work properly currently because of https://bugs.launchpad.net/ubuntu/+source/gnupg2/+bug/1257706 )
** Affects: openssh (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1257707 Title: ssh-agent upstart script should not run when gpg-agent is used To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1257707/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs