summaryrefslogtreecommitdiff
path: root/sshd_config.5
diff options
context:
space:
mode:
Diffstat (limited to 'sshd_config.5')
-rw-r--r--sshd_config.545
1 files changed, 39 insertions, 6 deletions
diff --git a/sshd_config.5 b/sshd_config.5
index 588aed56e..2f5410281 100644
--- a/sshd_config.5
+++ b/sshd_config.5
@@ -34,8 +34,8 @@
34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36.\" 36.\"
37.\" $OpenBSD: sshd_config.5,v 1.106 2009/04/21 15:13:17 stevesk Exp $ 37.\" $OpenBSD: sshd_config.5,v 1.120 2010/03/04 23:17:25 djm Exp $
38.Dd $Mdocdate: April 21 2009 $ 38.Dd $Mdocdate: March 4 2010 $
39.Dt SSHD_CONFIG 5 39.Dt SSHD_CONFIG 5
40.Os 40.Os
41.Sh NAME 41.Sh NAME
@@ -182,16 +182,16 @@ PAM or though authentication styles supported in
182The default is 182The default is
183.Dq yes . 183.Dq yes .
184.It Cm ChrootDirectory 184.It Cm ChrootDirectory
185Specifies a path to 185Specifies the pathname of a directory to
186.Xr chroot 2 186.Xr chroot 2
187to after authentication. 187to after authentication.
188This path, and all its components, must be root-owned directories that are 188All components of the pathname must be root-owned directories that are
189not writable by any other user or group. 189not writable by any other user or group.
190After the chroot, 190After the chroot,
191.Xr sshd 8 191.Xr sshd 8
192changes the working directory to the user's home directory. 192changes the working directory to the user's home directory.
193.Pp 193.Pp
194The path may contain the following tokens that are expanded at runtime once 194The pathname may contain the following tokens that are expanded at runtime once
195the connecting user has been authenticated: %% is replaced by a literal '%', 195the connecting user has been authenticated: %% is replaced by a literal '%',
196%h is replaced by the home directory of the user being authenticated, and 196%h is replaced by the home directory of the user being authenticated, and
197%u is replaced by the username of that user. 197%u is replaced by the username of that user.
@@ -411,6 +411,14 @@ uses the name supplied by the client rather than
411attempting to resolve the name from the TCP connection itself. 411attempting to resolve the name from the TCP connection itself.
412The default is 412The default is
413.Dq no . 413.Dq no .
414.It Cm HostCertificate
415Specifies a file containing a public host certificate.
416The certificate's public key must match a private host key already specified
417by
418.Cm HostKey .
419The default behaviour of
420.Xr sshd 8
421is not to load any certificates.
414.It Cm HostKey 422.It Cm HostKey
415Specifies a file containing a private host key 423Specifies a file containing a private host key
416used by SSH. 424used by SSH.
@@ -614,6 +622,7 @@ Available keywords are
614.Cm PermitEmptyPasswords , 622.Cm PermitEmptyPasswords ,
615.Cm PermitOpen , 623.Cm PermitOpen ,
616.Cm PermitRootLogin , 624.Cm PermitRootLogin ,
625.Cm PubkeyAuthentication ,
617.Cm RhostsRSAAuthentication , 626.Cm RhostsRSAAuthentication ,
618.Cm RSAAuthentication , 627.Cm RSAAuthentication ,
619.Cm X11DisplayOffset , 628.Cm X11DisplayOffset ,
@@ -792,7 +801,7 @@ and
792.Sq 2 . 801.Sq 2 .
793Multiple versions must be comma-separated. 802Multiple versions must be comma-separated.
794The default is 803The default is
795.Dq 2,1 . 804.Sq 2 .
796Note that the order of the protocol list does not indicate preference, 805Note that the order of the protocol list does not indicate preference,
797because the client selects among multiple protocol versions offered 806because the client selects among multiple protocol versions offered
798by the server. 807by the server.
@@ -805,6 +814,11 @@ Specifies whether public key authentication is allowed.
805The default is 814The default is
806.Dq yes . 815.Dq yes .
807Note that this option applies to protocol version 2 only. 816Note that this option applies to protocol version 2 only.
817.It Cm RevokedKeys
818Specifies a list of revoked public keys.
819Keys listed in this file will be refused for public key authentication.
820Note that if this file is not readable, then public key authentication will
821be refused for all users.
808.It Cm RhostsRSAAuthentication 822.It Cm RhostsRSAAuthentication
809Specifies whether rhosts or /etc/hosts.equiv authentication together 823Specifies whether rhosts or /etc/hosts.equiv authentication together
810with successful RSA host authentication is allowed. 824with successful RSA host authentication is allowed.
@@ -828,6 +842,9 @@ This is normally desirable because novices sometimes accidentally leave their
828directory or files world-writable. 842directory or files world-writable.
829The default is 843The default is
830.Dq yes . 844.Dq yes .
845Note that this does not apply to
846.Cm ChrootDirectory ,
847whose permissions and ownership are checked unconditionally.
831.It Cm Subsystem 848.It Cm Subsystem
832Configures an external subsystem (e.g. file transfer daemon). 849Configures an external subsystem (e.g. file transfer daemon).
833Arguments should be a subsystem name and a command (with optional arguments) 850Arguments should be a subsystem name and a command (with optional arguments)
@@ -877,6 +894,22 @@ This avoids infinitely hanging sessions.
877.Pp 894.Pp
878To disable TCP keepalive messages, the value should be set to 895To disable TCP keepalive messages, the value should be set to
879.Dq no . 896.Dq no .
897.It Cm TrustedUserCAKeys
898Specifies a file containing public keys of certificate authorities that are
899trusted to sign user certificates for authentication.
900Keys are listed one per line; empty lines and comments starting with
901.Ql #
902are allowed.
903If a certificate is presented for authentication and has its signing CA key
904listed in this file, then it may be used for authentication for any user
905listed in the certificate's principals list.
906Note that certificates that lack a list of principals will not be permitted
907for authentication using
908.Cm TrustedUserCAKeys .
909For more details on certificates, see the
910.Sx CERTIFICATES
911section in
912.Xr ssh-keygen 1 .
880.It Cm UseDNS 913.It Cm UseDNS
881Specifies whether 914Specifies whether
882.Xr sshd 8 915.Xr sshd 8