Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jul 2007 10:30:46 +0200
From:      Ulrich Spoerlein <uspoerlein@gmail.com>
To:        current@freebsd.org
Cc:        des@freebsd.org
Subject:   pam.d and ssh-agent no longer working
Message-ID:  <20070715083046.GA2819@roadrunner.q.local>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070715083046.GA2819>