Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2007 15:25:08 +0200
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        takhoos@hotmail.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: SSH login banner?
Message-ID:  <20070926132508.GA5647@owl.midgard.homeip.net>
In-Reply-To: <BAY124-W764F3E687FA99001F6968AAB00@phx.gbl>
References:  <20070925150058.J79029@dogmatix.home.rakhesh.com> <46F910EE.6070005@cyberleo.net> <20070926145429.B65660@dogmatix.home.rakhesh.com> <BAY124-W764F3E687FA99001F6968AAB00@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 26, 2007 at 09:15:38AM -0400, takhoos@hotmail.com wrote:
> I need to apply an SSH user agreement policy so users agrees to the AUP
> _before_ they login.  Everything I read puts the police on the screen
> after login.  Any ideas?  --Joe

The sshd_config(5) manpage documents the following option:

     Banner  In some jurisdictions, sending a warning message before authenti-
             cation may be relevant for getting legal protection.  The con-
             tents of the specified file are sent to the remote user before
             authentication is allowed.  This option is only available for
             protocol version 2.  By default, no banner is displayed.


Sounds like exactly what you want.



-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se



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