Daniel O'Connor doconnor at
Thu Nov 23 03:25:53 PST 2006

On Thursday 23 November 2006 19:46, Oliver Fromme wrote:
> Stefan Thurner wrote:
>  > I would like to activate ssh-agent automatically if I login
>  > via ssh.
> As far as I know there is no mechanism to start ssh-agent
> automatically.  (Someone please correct me if I'm wrong.)

You're wrong :)

I have all of my pam.d config files include a single system file so I can
control it all in one place.

I have this for auth ->
# auth
auth            sufficient             no_warn no_fake_prompts
auth            requisite       no_warn allow_local
auth            sufficient
auth            required             no_warn use_first_pass nullok

And this for session ->
# session
session         optional              want_agent
session         required          no_fail

(the session stuff is what starts ssh-agent)

Daniel O'Connor software and network engineer
for Genesis Software -
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-stable mailing list