1 '\" te
2 .\" Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved.
3 .\" Copyright (c) 2013, Joyent, Inc. All Rights Reserved.
4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
5 .\" See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the
6 .\" fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
7 .TH SSHD_CONFIG 4 "Jan 17, 2013"
8 .SH NAME
9 sshd_config \- sshd configuration file
10 .SH SYNOPSIS
11 .LP
12 .nf
13 \fB/etc/ssh/sshd_config\fR
14 .fi
15
16 .SH DESCRIPTION
17 .LP
18 The \fBsshd\fR(1M) daemon reads configuration data from
19 \fB/etc/ssh/sshd_config\fR (or the file specified with \fBsshd\fR \fB-f\fR on
20 the command line). The file contains keyword-value pairs, one per line. A line
21 starting with a hash mark (\fB#\fR) and empty lines are interpreted as
22 comments.
23 .sp
24 .LP
25 The \fBsshd_config\fR file supports the following keywords. Unless otherwise
26 noted, keywords and their arguments are case-insensitive.
27 .sp
626
627 .sp
628 .ne 2
629 .na
630 \fB\fBPort\fR\fR
631 .ad
632 .sp .6
633 .RS 4n
634 Specifies the port number that \fBsshd\fR listens on. The default is 22.
635 Multiple options of this type are permitted. See also \fBListenAddress\fR.
636 .RE
637
638 .sp
639 .ne 2
640 .na
641 \fB\fBPrintLastLog\fR\fR
642 .ad
643 .sp .6
644 .RS 4n
645 Specifies whether \fBsshd\fR should display the date and time when the user
646 last logged in. The default is \fByes\fR.
647 .RE
648
649 .sp
650 .ne 2
651 .na
652 \fB\fBPrintMotd\fR\fR
653 .ad
654 .sp .6
655 .RS 4n
656 Specifies whether \fBsshd\fR should display the contents of \fB/etc/motd\fR
657 when a user logs in interactively. (On some systems it is also displayed by the
658 shell or a shell startup file, such as \fB/etc/profile\fR.) The default is
659 \fByes\fR.
660 .RE
661
662 .sp
663 .ne 2
664 .na
665 \fB\fBProtocol\fR\fR
666 .ad
|
1 '\" te
2 .\" Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved.
3 .\" Copyright (c) 2013, Joyent, Inc. All Rights Reserved.
4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
5 .\" See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the
6 .\" fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
7 .TH SSHD_CONFIG 4 "Mar 24, 2016"
8 .SH NAME
9 sshd_config \- sshd configuration file
10 .SH SYNOPSIS
11 .LP
12 .nf
13 \fB/etc/ssh/sshd_config\fR
14 .fi
15
16 .SH DESCRIPTION
17 .LP
18 The \fBsshd\fR(1M) daemon reads configuration data from
19 \fB/etc/ssh/sshd_config\fR (or the file specified with \fBsshd\fR \fB-f\fR on
20 the command line). The file contains keyword-value pairs, one per line. A line
21 starting with a hash mark (\fB#\fR) and empty lines are interpreted as
22 comments.
23 .sp
24 .LP
25 The \fBsshd_config\fR file supports the following keywords. Unless otherwise
26 noted, keywords and their arguments are case-insensitive.
27 .sp
626
627 .sp
628 .ne 2
629 .na
630 \fB\fBPort\fR\fR
631 .ad
632 .sp .6
633 .RS 4n
634 Specifies the port number that \fBsshd\fR listens on. The default is 22.
635 Multiple options of this type are permitted. See also \fBListenAddress\fR.
636 .RE
637
638 .sp
639 .ne 2
640 .na
641 \fB\fBPrintLastLog\fR\fR
642 .ad
643 .sp .6
644 .RS 4n
645 Specifies whether \fBsshd\fR should display the date and time when the user
646 last logged in. On illumos this is always ignored, because pam_unix_session(5)
647 reports the last login time.
648 .RE
649
650 .sp
651 .ne 2
652 .na
653 \fB\fBPrintMotd\fR\fR
654 .ad
655 .sp .6
656 .RS 4n
657 Specifies whether \fBsshd\fR should display the contents of \fB/etc/motd\fR
658 when a user logs in interactively. (On some systems it is also displayed by the
659 shell or a shell startup file, such as \fB/etc/profile\fR.) The default is
660 \fByes\fR.
661 .RE
662
663 .sp
664 .ne 2
665 .na
666 \fB\fBProtocol\fR\fR
667 .ad
|