From a333272d9c53f33b988e4559982ebdd10c81b92e Mon Sep 17 00:00:00 2001 From: djm Date: Tue, 1 Mar 2005 10:17:09 +0000 Subject: [PATCH] - jmc@cvs.openbsd.org 2005/02/25 10:55:13 [sshd.8] add /etc/motd and $HOME/.hushlogin to FILES; from michael knudsen; --- ChangeLog | 4 ++++ sshd.8 | 16 +++++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f1b54c54..eb9c15a3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,10 @@ turn on ssh batch mode when in sftp batch mode, patch from jdmossh AT nand.net; ok markus@ + - jmc@cvs.openbsd.org 2005/02/25 10:55:13 + [sshd.8] + add /etc/motd and $HOME/.hushlogin to FILES; + from michael knudsen; 20050226 - (dtucker) [openbsd-compat/bsd-openpty.c openbsd-compat/inet_ntop.c] diff --git a/sshd.8 b/sshd.8 index 2ac7b727..9d30369c 100644 --- a/sshd.8 +++ b/sshd.8 @@ -34,7 +34,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $OpenBSD: sshd.8,v 1.203 2004/12/06 11:41:03 dtucker Exp $ +.\" $OpenBSD: sshd.8,v 1.204 2005/02/25 10:55:13 jmc Exp $ .Dd September 25, 1999 .Dt SSHD 8 .Os @@ -652,6 +652,20 @@ These files should be writable only by root/the owner. should be world-readable, and .Pa $HOME/.ssh/known_hosts can, but need not be, world-readable. +.It Pa /etc/motd +See +.Xr motd 5 . +.It Pa $HOME/.hushlogin +This file is used to suppress printing the last login time and +.Pa /etc/motd , +if +.Cm PrintLastLog +and +.Cm PrintMotd , +respectively, +are enabled. +It does not suppress printing of the banner specified by +.Cm Banner . .It Pa /etc/nologin If this file exists, .Nm -- 2.45.2