Date: Thu, 10 Jan 2002 15:39:36 +1100 From: Greg Lane <gregory.lane@anu.edu.au> To: James McNaughton <jtm63@enteract.com> Cc: freebsd-questions@FreeBSD.org Subject: Re: sshd Banner option Message-ID: <20020110153936.A28566@nucl03.anu.edu.au> In-Reply-To: <86n0zmuan2.fsf@jamestown.21stcentury.net>; from jtm63@enteract.com on Wed, Jan 09, 2002 at 09:50:57PM -0600 References: <86n0zmuan2.fsf@jamestown.21stcentury.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 09, 2002 at 09:50:57PM -0600, James McNaughton <jtm63@enteract.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020110153936.A28566>