From owner-freebsd-questions@FreeBSD.ORG Wed Sep 26 13:25:12 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E36C916A41A for ; Wed, 26 Sep 2007 13:25:12 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id B7AE013C478 for ; Wed, 26 Sep 2007 13:25:12 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-31-60.bredband.comhem.se ([83.253.31.60]:49608 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.66) (envelope-from ) id 1IaWt5-0004dq-86 for freebsd-questions@freebsd.org; Wed, 26 Sep 2007 15:25:11 +0200 Received: (qmail 15101 invoked from network); 26 Sep 2007 15:25:08 +0200 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 26 Sep 2007 15:25:08 +0200 Received: (qmail 5673 invoked by uid 1001); 26 Sep 2007 15:25:08 +0200 Date: Wed, 26 Sep 2007 15:25:08 +0200 From: Erik Trulsson To: takhoos@hotmail.com Message-ID: <20070926132508.GA5647@owl.midgard.homeip.net> Mail-Followup-To: takhoos@hotmail.com, freebsd-questions@freebsd.org References: <20070925150058.J79029@dogmatix.home.rakhesh.com> <46F910EE.6070005@cyberleo.net> <20070926145429.B65660@dogmatix.home.rakhesh.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) X-Originating-IP: 83.253.31.60 X-Scan-Result: No virus found in message 1IaWt5-0004dq-86. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1IaWt5-0004dq-86 986bf6093cedacb7ec2885fad6e87d2a Cc: freebsd-questions@freebsd.org Subject: Re: SSH login banner? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Sep 2007 13:25:13 -0000 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. -- Erik Trulsson ertr1013@student.uu.se