pam.d and ssh-agent no longer working

From: Ulrich Spoerlein <uspoerlein_at_gmail.com>
Date: Sun, 15 Jul 2007 10:30:46 +0200
Hi,
on a fairly recent CURRENT, the ssh-agent started by pam.d/login no
longer loads the identity. This was working just fine till a few days
ago.

pam.d/system
auth            sufficient      pam_ssh.so              no_warn try_first_pass
auth            sufficient   /usr/local/lib/pam_ldap.so no_warn use_first_pass
auth            required        pam_unix.so             no_warn use_first_pass nullok

pam.d/login
# session
session         required        pam_ssh.so              want_agent
session         include         system

Upon login with the SSH passphrase (which works!) an agent is running,
but no identity is loaded.

% pgrep -fl agent
1342 ssh_agent -s
1341 ssh-agent
% ssh-add -l
The agent has no identities.
(1)%

I then have to ssh-add(1) and everything is working fine from then on.
Are other people seeing this, too? How should I go about debugging this?

Cheers,
Ulrich Spoerlein
-- 
"The trouble with the dictionary is you have to know how the word is
spelled before you can look it up to see how it is spelled."
-- Will Cuppy
Received on Sun Jul 15 2007 - 06:30:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:14 UTC