Using 'ForceCommand' Option
Lesley Kimmel
lesley.j.kimmel at gmail.com
Thu Feb 18 08:50:40 AEDT 2016
Gert,
Thank you for the feedback. Can you give any further direction on where to
get more information on what you are describing?
On Wed, Feb 17, 2016 at 3:17 PM, Gert Doering <gert at greenie.muc.de> wrote:
> Hi,
>
> On Wed, Feb 17, 2016 at 12:59:57PM -0600, Lesley Kimmel wrote:
> > I would like to implement an arbitrary script to be executed when logging
> > on via SSH.
>
> I'd just do this in the PAM session handler.
>
> ForceCommand means "run this command *and then exit*", so this is not
> what you want.
>
> gert
>
>
> --
> USENET is *not* the non-clickable part of WWW!
> //
> www.muc.de/~gert/
> Gert Doering - Munich, Germany
> gert at greenie.muc.de
> fax: +49-89-35655025
> gert at net.informatik.tu-muenchen.de
>
More information about the openssh-unix-dev
mailing list