Using pam_ssh will create a ssh-agent process on login, but it fails to terminate it on logout. Apparently SIGTERM no longer terminates a ssh-agent.
Created attachment 257971 [details] Patch to fix pam_ssh will terminate ssh-agent and fix issue 99217 also This is a considerable rework of pam_ssh.c It changes to use the -x option of ssh-agent as suggested by des in PE 99217 It also fixes the issue of 99217 of the lingering zombie. A bunch of minor C string changes.