Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Jan 2002 22:40:20 -0700
From:      Chris Fedde <chris@fedde.littleton.co.us>
To:        gregory.lane@anu.edu.au
Cc:        James McNaughton <jtm63@enteract.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: sshd Banner option 
Message-ID:  <200201100540.g0A5eKO09982@fedde.littleton.co.us>
In-Reply-To: <20020110153936.A28566@nucl03.anu.edu.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 10 Jan 2002 15:39:36 +1100  Greg Lane wrote:
 +------------------
 | 1>xxxxx@yyyyy:~$ more /etc/ssh/sshd_config | grep Banner
 +------------------

This is not intended as a slam on anyone.  I just want to point out
that this command line is a little odd.  More(1) will work this way
but but that is kind of a degradation of it's main function as a
pager.  cat(1) is the more canonical way to dump files into pipes.
The most common way to write this command line is to use grep
directly:

    grep Banner /etc/ssh/sshd_config

Good Luck.

--
    Chris Fedde

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?200201100540.g0A5eKO09982>