pam_ssh won't run ssh-agent if it would overwrite ~/.ssh/agent-* files. It has been reported upstream [1] but is still unfixed. Debian has a patch ("Add patch to cleanup old ~/.ssh/agent-[host]-[tty] files. (courtesy of Itay Ben-Yaacov <nib_maps@yahoo.com>) Closes: #294181) [2] [3]. I've added it to current pam_ssh-1.91-r1.ebuild and it works for me. I can submit patched ebuild but the change is trivial. [1] http://sourceforge.net/tracker/index.php?func=detail&aid=1118574&group_id=16000&atid=116000 [2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=294181 [3] http://bugs.debian.org/cgi-bin/bugreport.cgi/NEWDIFF?bug=294181;msg=27;att=1
Thanks for the patch, added in -r2.
I just had a kernel oops on my notebook and can also verify that the patch is working.