From owner-freebsd-questions Wed Jan 9 20:39:45 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.anu.edu.au (mail.anu.edu.au [150.203.2.7]) by hub.freebsd.org (Postfix) with ESMTP id 35DD837B41F for ; Wed, 9 Jan 2002 20:39:38 -0800 (PST) Received: from nucl03.anu.edu.au (nucl03.anu.edu.au [150.203.19.120]) by mail.anu.edu.au (8.9.3/8.9.3) with ESMTP id PAA12975; Thu, 10 Jan 2002 15:39:36 +1100 (EST) Received: (from gjl103@localhost) by nucl03.anu.edu.au (8.11.6/8.11.6) id g0A4daE28627; Thu, 10 Jan 2002 15:39:36 +1100 (EST) (envelope-from gjl103) Date: Thu, 10 Jan 2002 15:39:36 +1100 From: Greg Lane To: James McNaughton Cc: freebsd-questions@FreeBSD.org Subject: Re: sshd Banner option Message-ID: <20020110153936.A28566@nucl03.anu.edu.au> Reply-To: gregory.lane@anu.edu.au Mail-Followup-To: James McNaughton , freebsd-questions@FreeBSD.org References: <86n0zmuan2.fsf@jamestown.21stcentury.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <86n0zmuan2.fsf@jamestown.21stcentury.net>; from jtm63@enteract.com on Wed, Jan 09, 2002 at 09:50:57PM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Jan 09, 2002 at 09:50:57PM -0600, James McNaughton wrote: > According to the man page, the Banner option in the sshd config file > is supposed to display the contents of a file when ssh'ing to the > machine. I can't get the file to display. And I'm forcing protocol 2. > > Does this option really work? > Seems to! 1>xxxxx@yyyyy:~$ more /etc/ssh/sshd_config | grep Banner Banner /etc/issue.net 2>xxxxx@yyyyy:~$ more /etc/issue.net ***** This service is for authorised clients only ***** **************************************************************************** * WARNING: It is a criminal offence to: * * i. Obtain access to data without authority * * ii Damage, delete, alter or insert data without authority * **************************************************************************** 3>xxxxx@yyyyy:~$ ssh 127.0.0.1 ***** This service is for authorised clients only ***** **************************************************************************** * WARNING: It is a criminal offence to: * * i. Obtain access to data without authority * * ii Damage, delete, alter or insert data without authority * **************************************************************************** xxxxx@127.0.0.1's password: I am running stable as of 2 or 3 days ago and forcing to ssh version 2 also: 9>xxxxx@yyyyy:~$ more /etc/ssh/sshd_config | grep -A 1 -B 1 Protocol Port 22 Protocol 2 Cheers, Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message