Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Nov 2006 15:03:03 +0100 (CET)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-stable@FreeBSD.ORG, stefan.thurner@mb.tu-chemnitz.de
Subject:   Re: pam.d/sshd
Message-ID:  <200611231403.kANE33TN098025@lurza.secnetix.de>
In-Reply-To: <Pine.LNX.4.64.0611231219340.18434@herkules.hrz.tu-chemnitz.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Stefan Thurner wrote:
 > 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.)
 > 
 > the session module of pam_ssh.so should do that. 

Right.  But according to the manpage it kills the agent
upon close of the seesion, which I don't want.  The script
snippet that I pasted lets the agent run permanently, and
only starts a new one if necessary (e.g. after a reboot).

Best regards
   Oliver

-- 
Oliver Fromme,  secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"We, the unwilling, led by the unknowing,
are doing the impossible for the ungrateful.
We have done so much, for so long, with so little,
we are now qualified to do anything with nothing."
        -- Mother Teresa



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