pam.d/sshd
Stefan Thurner
thurners at nicsys.de
Fri Dec 1 12:03:35 PST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> Hi Stefan.
> /etc/pam.d/sshd pam file is for sshd server not for ssh client.
> If you want to use ssh-agent whole the time your box is online you
> should start it right after login. In order to doing this add
> "session optional pam_ssh.so want_agent"
> line into session facility of /etc/pam.d/system file (it's included
> into /etc/pam.d/login so don't worry).
Hi Nikolay!
Thats right and I have such a line in may pam.d/system file. But what I
want is that ssh-agent is started on the remote host if I login on the
remote host. Therefore I added the described lines in the pam.d/sshd
file on the remote host.
The password for ssh-key is requested if I login on the remote host (as
it should) but no ssh-agent is started. I'm quite sure that it is a bug
in pam_ssh.so. When bug reporting on the freebsd site is working again I
will send in a problem report.
best regards
- -Stefan
- --
GPG-encrypted mail welcome! --> ID:E970FCBE
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFcIplxNmQVulw/L4RApPYAJ9C2frkDjE3AlKdQh/unv38E1YbjwCgtPaZ
6lio3DnQJBfjh+azcAyD9fA=
=Rebv
-----END PGP SIGNATURE-----
More information about the freebsd-stable
mailing list