pam.d and ssh-agent no longer working

Ulrich Spoerlein uspoerlein at gmail.com
Sun Jul 15 08:30:53 UTC 2007


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


More information about the freebsd-current mailing list