misc/107154: pam.d/sshd pam_ssh.so doesn't start ssh-agent
thurners at nicsys.de
Sat Dec 23 13:30:16 PST 2006
>Synopsis: pam.d/sshd pam_ssh.so doesn't start ssh-agent
>Arrival-Date: Sat Dec 23 21:30:15 GMT 2006
>Originator: Stefan Thurner
>Release: FreeBSD 6.2-PRERELEASE
FreeBSD xris.fu41.vpn 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Wed Nov 15 22:26:31 CET 2006 root at xris.fu41.vpn:/usr/obj/usr/src/sys/CUSTOM i386
What I want is that ssh-agent is started on the remote host if I login on the
remote host. Therefore I added the following lines to pam.d/sshd
file on the remote host.
auth optional pam_ssh.so no_warn try_first_pass
session optional pam_ssh.so
If I login on the remote host the password for ssh-key is requested (as
it should) but no ssh-agent is started (even if type in the correct ssh passphrase). I'm quite sure that it is a bug
Add the described lines to pam.d/sshd on a remote host. Export your public ssh key to the remote host and login on the remote host. See if ssh-agent is started and serving your passphrase (ssh-add -l).
Sorry, no idea.
More information about the freebsd-bugs