[BACK]Return to sshd_config.5 CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Annotation of src/usr.bin/ssh/sshd_config.5, Revision 1.130

1.1       stevesk     1: .\"
                      2: .\" Author: Tatu Ylonen <ylo@cs.hut.fi>
                      3: .\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
                      4: .\"                    All rights reserved
                      5: .\"
                      6: .\" As far as I am concerned, the code I have written for this software
                      7: .\" can be used freely for any purpose.  Any derived versions of this
                      8: .\" software must be clearly marked as such, and if the derived work is
                      9: .\" incompatible with the protocol description in the RFC file, it must be
                     10: .\" called by a name other than "ssh" or "Secure Shell".
                     11: .\"
                     12: .\" Copyright (c) 1999,2000 Markus Friedl.  All rights reserved.
                     13: .\" Copyright (c) 1999 Aaron Campbell.  All rights reserved.
                     14: .\" Copyright (c) 1999 Theo de Raadt.  All rights reserved.
                     15: .\"
                     16: .\" Redistribution and use in source and binary forms, with or without
                     17: .\" modification, are permitted provided that the following conditions
                     18: .\" are met:
                     19: .\" 1. Redistributions of source code must retain the above copyright
                     20: .\"    notice, this list of conditions and the following disclaimer.
                     21: .\" 2. Redistributions in binary form must reproduce the above copyright
                     22: .\"    notice, this list of conditions and the following disclaimer in the
                     23: .\"    documentation and/or other materials provided with the distribution.
                     24: .\"
                     25: .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
                     26: .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
                     27: .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
                     28: .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
                     29: .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
                     30: .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
                     31: .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
                     32: .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
                     33: .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
                     34: .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
                     35: .\"
1.130   ! jmc        36: .\" $OpenBSD: sshd_config.5,v 1.129 2010/11/13 23:27:51 djm Exp $
        !            37: .Dd $Mdocdate: November 13 2010 $
1.1       stevesk    38: .Dt SSHD_CONFIG 5
                     39: .Os
                     40: .Sh NAME
                     41: .Nm sshd_config
                     42: .Nd OpenSSH SSH daemon configuration file
                     43: .Sh SYNOPSIS
1.71      jmc        44: .Nm /etc/ssh/sshd_config
1.1       stevesk    45: .Sh DESCRIPTION
1.53      jmc        46: .Xr sshd 8
1.1       stevesk    47: reads configuration data from
                     48: .Pa /etc/ssh/sshd_config
                     49: (or the file specified with
                     50: .Fl f
                     51: on the command line).
                     52: The file contains keyword-argument pairs, one per line.
                     53: Lines starting with
                     54: .Ql #
                     55: and empty lines are interpreted as comments.
1.56      dtucker    56: Arguments may optionally be enclosed in double quotes
                     57: .Pq \&"
                     58: in order to represent arguments containing spaces.
1.1       stevesk    59: .Pp
                     60: The possible
                     61: keywords and their meanings are as follows (note that
                     62: keywords are case-insensitive and arguments are case-sensitive):
                     63: .Bl -tag -width Ds
1.30      djm        64: .It Cm AcceptEnv
                     65: Specifies what environment variables sent by the client will be copied into
                     66: the session's
                     67: .Xr environ 7 .
                     68: See
                     69: .Cm SendEnv
                     70: in
                     71: .Xr ssh_config 5
                     72: for how to configure the client.
1.31      djm        73: Note that environment passing is only supported for protocol 2.
1.30      djm        74: Variables are specified by name, which may contain the wildcard characters
1.51      jmc        75: .Ql *
1.30      djm        76: and
                     77: .Ql \&? .
1.31      djm        78: Multiple environment variables may be separated by whitespace or spread
1.30      djm        79: across multiple
                     80: .Cm AcceptEnv
                     81: directives.
1.31      djm        82: Be warned that some environment variables could be used to bypass restricted
1.30      djm        83: user environments.
                     84: For this reason, care should be taken in the use of this directive.
                     85: The default is not to accept any environment variables.
1.37      djm        86: .It Cm AddressFamily
                     87: Specifies which address family should be used by
1.53      jmc        88: .Xr sshd 8 .
1.37      djm        89: Valid arguments are
                     90: .Dq any ,
                     91: .Dq inet
1.52      jmc        92: (use IPv4 only), or
1.37      djm        93: .Dq inet6
                     94: (use IPv6 only).
                     95: The default is
                     96: .Dq any .
1.89      jmc        97: .It Cm AllowAgentForwarding
                     98: Specifies whether
                     99: .Xr ssh-agent 1
                    100: forwarding is permitted.
                    101: The default is
                    102: .Dq yes .
                    103: Note that disabling agent forwarding does not improve security
                    104: unless users are also denied shell access, as they can always install
                    105: their own forwarders.
1.1       stevesk   106: .It Cm AllowGroups
                    107: This keyword can be followed by a list of group name patterns, separated
                    108: by spaces.
                    109: If specified, login is allowed only for users whose primary
                    110: group or supplementary group list matches one of the patterns.
                    111: Only group names are valid; a numerical group ID is not recognized.
                    112: By default, login is allowed for all groups.
1.54      jmc       113: The allow/deny directives are processed in the following order:
                    114: .Cm DenyUsers ,
                    115: .Cm AllowUsers ,
                    116: .Cm DenyGroups ,
                    117: and finally
                    118: .Cm AllowGroups .
1.49      jmc       119: .Pp
                    120: See
                    121: .Sx PATTERNS
                    122: in
                    123: .Xr ssh_config 5
                    124: for more information on patterns.
1.1       stevesk   125: .It Cm AllowTcpForwarding
                    126: Specifies whether TCP forwarding is permitted.
                    127: The default is
                    128: .Dq yes .
                    129: Note that disabling TCP forwarding does not improve security unless
                    130: users are also denied shell access, as they can always install their
                    131: own forwarders.
                    132: .It Cm AllowUsers
                    133: This keyword can be followed by a list of user name patterns, separated
                    134: by spaces.
1.14      jmc       135: If specified, login is allowed only for user names that
1.1       stevesk   136: match one of the patterns.
                    137: Only user names are valid; a numerical user ID is not recognized.
                    138: By default, login is allowed for all users.
                    139: If the pattern takes the form USER@HOST then USER and HOST
                    140: are separately checked, restricting logins to particular
                    141: users from particular hosts.
1.54      jmc       142: The allow/deny directives are processed in the following order:
                    143: .Cm DenyUsers ,
                    144: .Cm AllowUsers ,
                    145: .Cm DenyGroups ,
                    146: and finally
                    147: .Cm AllowGroups .
1.49      jmc       148: .Pp
                    149: See
                    150: .Sx PATTERNS
                    151: in
                    152: .Xr ssh_config 5
                    153: for more information on patterns.
1.1       stevesk   154: .It Cm AuthorizedKeysFile
                    155: Specifies the file that contains the public keys that can be used
                    156: for user authentication.
1.124     djm       157: The format is described in the
                    158: .Sx AUTHORIZED_KEYS FILE FORMAT
                    159: section of
                    160: .Xr sshd 8 .
1.1       stevesk   161: .Cm AuthorizedKeysFile
                    162: may contain tokens of the form %T which are substituted during connection
1.52      jmc       163: setup.
1.17      jmc       164: The following tokens are defined: %% is replaced by a literal '%',
1.52      jmc       165: %h is replaced by the home directory of the user being authenticated, and
1.1       stevesk   166: %u is replaced by the username of that user.
                    167: After expansion,
                    168: .Cm AuthorizedKeysFile
                    169: is taken to be an absolute path or one relative to the user's home
                    170: directory.
                    171: The default is
                    172: .Dq .ssh/authorized_keys .
1.121     djm       173: .It Cm AuthorizedPrincipalsFile
                    174: Specifies a file that lists principal names that are accepted for
                    175: certificate authentication.
                    176: When using certificates signed by a key listed in
                    177: .Cm TrustedUserCAKeys ,
                    178: this file lists names, one of which must appear in the certificate for it
                    179: to be accepted for authentication.
1.125     jmc       180: Names are listed one per line preceded by key options (as described
1.124     djm       181: in
                    182: .Sx AUTHORIZED_KEYS FILE FORMAT
                    183: in
1.125     jmc       184: .Xr sshd 8 ) .
1.124     djm       185: Empty lines and comments starting with
1.121     djm       186: .Ql #
                    187: are ignored.
                    188: .Pp
                    189: .Cm AuthorizedPrincipalsFile
                    190: may contain tokens of the form %T which are substituted during connection
                    191: setup.
                    192: The following tokens are defined: %% is replaced by a literal '%',
                    193: %h is replaced by the home directory of the user being authenticated, and
                    194: %u is replaced by the username of that user.
                    195: After expansion,
                    196: .Cm AuthorizedPrincipalsFile
                    197: is taken to be an absolute path or one relative to the user's home
                    198: directory.
                    199: .Pp
1.122     jmc       200: The default is not to use a principals file \(en in this case, the username
1.121     djm       201: of the user must appear in a certificate's principals list for it to be
                    202: accepted.
                    203: Note that
                    204: .Cm AuthorizedPrincipalsFile
                    205: is only used when authentication proceeds using a CA listed in
                    206: .Cm TrustedUserCAKeys
                    207: and is not consulted for certification authorities trusted via
                    208: .Pa ~/.ssh/authorized_keys ,
                    209: though the
                    210: .Cm principals=
                    211: key option offers a similar facility (see
                    212: .Xr sshd 8
                    213: for details).
1.1       stevesk   214: .It Cm Banner
                    215: The contents of the specified file are sent to the remote user before
                    216: authentication is allowed.
1.78      djm       217: If the argument is
                    218: .Dq none
                    219: then no banner is displayed.
1.1       stevesk   220: This option is only available for protocol version 2.
                    221: By default, no banner is displayed.
                    222: .It Cm ChallengeResponseAuthentication
1.50      jmc       223: Specifies whether challenge-response authentication is allowed.
1.1       stevesk   224: All authentication styles from
                    225: .Xr login.conf 5
                    226: are supported.
                    227: The default is
                    228: .Dq yes .
1.80      djm       229: .It Cm ChrootDirectory
1.113     stevesk   230: Specifies the pathname of a directory to
1.80      djm       231: .Xr chroot 2
                    232: to after authentication.
1.113     stevesk   233: All components of the pathname must be root-owned directories that are
1.80      djm       234: not writable by any other user or group.
1.106     stevesk   235: After the chroot,
                    236: .Xr sshd 8
                    237: changes the working directory to the user's home directory.
1.80      djm       238: .Pp
1.113     stevesk   239: The pathname may contain the following tokens that are expanded at runtime once
1.80      djm       240: the connecting user has been authenticated: %% is replaced by a literal '%',
                    241: %h is replaced by the home directory of the user being authenticated, and
                    242: %u is replaced by the username of that user.
                    243: .Pp
                    244: The
                    245: .Cm ChrootDirectory
                    246: must contain the necessary files and directories to support the
1.103     stevesk   247: user's session.
1.80      djm       248: For an interactive session this requires at least a shell, typically
                    249: .Xr sh 1 ,
                    250: and basic
                    251: .Pa /dev
                    252: nodes such as
                    253: .Xr null 4 ,
                    254: .Xr zero 4 ,
                    255: .Xr stdin 4 ,
                    256: .Xr stdout 4 ,
                    257: .Xr stderr 4 ,
                    258: .Xr arandom 4
                    259: and
                    260: .Xr tty 4
                    261: devices.
                    262: For file transfer sessions using
1.105     jmc       263: .Dq sftp ,
1.80      djm       264: no additional configuration of the environment is necessary if the
1.105     jmc       265: in-process sftp server is used,
                    266: though sessions which use logging do require
1.104     stevesk   267: .Pa /dev/log
                    268: inside the chroot directory (see
                    269: .Xr sftp-server 8
1.81      jmc       270: for details).
1.80      djm       271: .Pp
                    272: The default is not to
                    273: .Xr chroot 2 .
1.1       stevesk   274: .It Cm Ciphers
                    275: Specifies the ciphers allowed for protocol version 2.
                    276: Multiple ciphers must be comma-separated.
1.34      dtucker   277: The supported ciphers are
                    278: .Dq 3des-cbc ,
                    279: .Dq aes128-cbc ,
                    280: .Dq aes192-cbc ,
                    281: .Dq aes256-cbc ,
                    282: .Dq aes128-ctr ,
                    283: .Dq aes192-ctr ,
                    284: .Dq aes256-ctr ,
1.43      djm       285: .Dq arcfour128 ,
                    286: .Dq arcfour256 ,
1.34      dtucker   287: .Dq arcfour ,
                    288: .Dq blowfish-cbc ,
                    289: and
                    290: .Dq cast128-cbc .
1.52      jmc       291: The default is:
                    292: .Bd -literal -offset 3n
1.100     naddy     293: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,
                    294: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,
                    295: aes256-cbc,arcfour
1.1       stevesk   296: .Ed
                    297: .It Cm ClientAliveCountMax
1.48      jmc       298: Sets the number of client alive messages (see below) which may be
1.1       stevesk   299: sent without
1.52      jmc       300: .Xr sshd 8
1.17      jmc       301: receiving any messages back from the client.
                    302: If this threshold is reached while client alive messages are being sent,
1.52      jmc       303: sshd will disconnect the client, terminating the session.
1.17      jmc       304: It is important to note that the use of client alive messages is very
                    305: different from
1.27      markus    306: .Cm TCPKeepAlive
1.17      jmc       307: (below).
                    308: The client alive messages are sent through the encrypted channel
                    309: and therefore will not be spoofable.
                    310: The TCP keepalive option enabled by
1.27      markus    311: .Cm TCPKeepAlive
1.17      jmc       312: is spoofable.
                    313: The client alive mechanism is valuable when the client or
1.1       stevesk   314: server depend on knowing when a connection has become inactive.
                    315: .Pp
1.17      jmc       316: The default value is 3.
                    317: If
1.1       stevesk   318: .Cm ClientAliveInterval
1.48      jmc       319: (see below) is set to 15, and
1.1       stevesk   320: .Cm ClientAliveCountMax
1.52      jmc       321: is left at the default, unresponsive SSH clients
1.1       stevesk   322: will be disconnected after approximately 45 seconds.
1.57      markus    323: This option applies to protocol version 2 only.
1.42      djm       324: .It Cm ClientAliveInterval
                    325: Sets a timeout interval in seconds after which if no data has been received
                    326: from the client,
1.52      jmc       327: .Xr sshd 8
1.42      djm       328: will send a message through the encrypted
                    329: channel to request a response from the client.
                    330: The default
                    331: is 0, indicating that these messages will not be sent to the client.
                    332: This option applies to protocol version 2 only.
1.3       markus    333: .It Cm Compression
1.44      markus    334: Specifies whether compression is allowed, or delayed until
                    335: the user has authenticated successfully.
1.3       markus    336: The argument must be
1.44      markus    337: .Dq yes ,
                    338: .Dq delayed ,
1.3       markus    339: or
                    340: .Dq no .
                    341: The default is
1.44      markus    342: .Dq delayed .
1.1       stevesk   343: .It Cm DenyGroups
                    344: This keyword can be followed by a list of group name patterns, separated
                    345: by spaces.
                    346: Login is disallowed for users whose primary group or supplementary
                    347: group list matches one of the patterns.
                    348: Only group names are valid; a numerical group ID is not recognized.
                    349: By default, login is allowed for all groups.
1.54      jmc       350: The allow/deny directives are processed in the following order:
                    351: .Cm DenyUsers ,
                    352: .Cm AllowUsers ,
                    353: .Cm DenyGroups ,
                    354: and finally
                    355: .Cm AllowGroups .
1.49      jmc       356: .Pp
                    357: See
                    358: .Sx PATTERNS
                    359: in
                    360: .Xr ssh_config 5
                    361: for more information on patterns.
1.1       stevesk   362: .It Cm DenyUsers
                    363: This keyword can be followed by a list of user name patterns, separated
                    364: by spaces.
                    365: Login is disallowed for user names that match one of the patterns.
                    366: Only user names are valid; a numerical user ID is not recognized.
                    367: By default, login is allowed for all users.
                    368: If the pattern takes the form USER@HOST then USER and HOST
                    369: are separately checked, restricting logins to particular
                    370: users from particular hosts.
1.54      jmc       371: The allow/deny directives are processed in the following order:
                    372: .Cm DenyUsers ,
                    373: .Cm AllowUsers ,
                    374: .Cm DenyGroups ,
                    375: and finally
                    376: .Cm AllowGroups .
1.49      jmc       377: .Pp
                    378: See
                    379: .Sx PATTERNS
                    380: in
                    381: .Xr ssh_config 5
                    382: for more information on patterns.
1.67      dtucker   383: .It Cm ForceCommand
                    384: Forces the execution of the command specified by
                    385: .Cm ForceCommand ,
1.84      djm       386: ignoring any command supplied by the client and
                    387: .Pa ~/.ssh/rc
                    388: if present.
1.67      dtucker   389: The command is invoked by using the user's login shell with the -c option.
                    390: This applies to shell, command, or subsystem execution.
                    391: It is most useful inside a
                    392: .Cm Match
                    393: block.
                    394: The command originally supplied by the client is available in the
                    395: .Ev SSH_ORIGINAL_COMMAND
                    396: environment variable.
1.82      djm       397: Specifying a command of
                    398: .Dq internal-sftp
                    399: will force the use of an in-process sftp server that requires no support
                    400: files when used with
                    401: .Cm ChrootDirectory .
1.1       stevesk   402: .It Cm GatewayPorts
                    403: Specifies whether remote hosts are allowed to connect to ports
                    404: forwarded for the client.
                    405: By default,
1.52      jmc       406: .Xr sshd 8
1.15      jmc       407: binds remote port forwardings to the loopback address.
                    408: This prevents other remote hosts from connecting to forwarded ports.
1.1       stevesk   409: .Cm GatewayPorts
1.52      jmc       410: can be used to specify that sshd
1.39      djm       411: should allow remote port forwardings to bind to non-loopback addresses, thus
                    412: allowing other hosts to connect.
                    413: The argument may be
                    414: .Dq no
                    415: to force remote port forwardings to be available to the local host only,
1.1       stevesk   416: .Dq yes
1.39      djm       417: to force remote port forwardings to bind to the wildcard address, or
                    418: .Dq clientspecified
                    419: to allow the client to select the address to which the forwarding is bound.
1.1       stevesk   420: The default is
                    421: .Dq no .
1.23      markus    422: .It Cm GSSAPIAuthentication
1.25      markus    423: Specifies whether user authentication based on GSSAPI is allowed.
1.26      djm       424: The default is
1.23      markus    425: .Dq no .
                    426: Note that this option applies to protocol version 2 only.
                    427: .It Cm GSSAPICleanupCredentials
                    428: Specifies whether to automatically destroy the user's credentials cache
                    429: on logout.
                    430: The default is
                    431: .Dq yes .
                    432: Note that this option applies to protocol version 2 only.
1.1       stevesk   433: .It Cm HostbasedAuthentication
                    434: Specifies whether rhosts or /etc/hosts.equiv authentication together
                    435: with successful public key client host authentication is allowed
1.50      jmc       436: (host-based authentication).
1.1       stevesk   437: This option is similar to
                    438: .Cm RhostsRSAAuthentication
                    439: and applies to protocol version 2 only.
1.70      dtucker   440: The default is
                    441: .Dq no .
                    442: .It Cm HostbasedUsesNameFromPacketOnly
                    443: Specifies whether or not the server will attempt to perform a reverse
                    444: name lookup when matching the name in the
                    445: .Pa ~/.shosts ,
                    446: .Pa ~/.rhosts ,
                    447: and
                    448: .Pa /etc/hosts.equiv
                    449: files during
                    450: .Cm HostbasedAuthentication .
                    451: A setting of
                    452: .Dq yes
                    453: means that
                    454: .Xr sshd 8
                    455: uses the name supplied by the client rather than
                    456: attempting to resolve the name from the TCP connection itself.
1.1       stevesk   457: The default is
                    458: .Dq no .
1.117     djm       459: .It Cm HostCertificate
                    460: Specifies a file containing a public host certificate.
                    461: The certificate's public key must match a private host key already specified
                    462: by
                    463: .Cm HostKey .
                    464: The default behaviour of
                    465: .Xr sshd 8
                    466: is not to load any certificates.
1.1       stevesk   467: .It Cm HostKey
                    468: Specifies a file containing a private host key
                    469: used by SSH.
                    470: The default is
                    471: .Pa /etc/ssh/ssh_host_key
                    472: for protocol version 1, and
1.126     djm       473: .Pa /etc/ssh/ssh_host_dsa_key ,
                    474: .Pa /etc/ssh/ssh_host_ecdsa_key
                    475: and
1.1       stevesk   476: .Pa /etc/ssh/ssh_host_rsa_key
                    477: for protocol version 2.
                    478: Note that
1.52      jmc       479: .Xr sshd 8
1.1       stevesk   480: will refuse to use a file if it is group/world-accessible.
                    481: It is possible to have multiple host key files.
                    482: .Dq rsa1
                    483: keys are used for version 1 and
1.126     djm       484: .Dq dsa ,
                    485: .Dq ecdsa
1.1       stevesk   486: or
                    487: .Dq rsa
                    488: are used for version 2 of the SSH protocol.
                    489: .It Cm IgnoreRhosts
                    490: Specifies that
                    491: .Pa .rhosts
                    492: and
                    493: .Pa .shosts
                    494: files will not be used in
                    495: .Cm RhostsRSAAuthentication
                    496: or
                    497: .Cm HostbasedAuthentication .
                    498: .Pp
                    499: .Pa /etc/hosts.equiv
                    500: and
                    501: .Pa /etc/shosts.equiv
                    502: are still used.
                    503: The default is
                    504: .Dq yes .
                    505: .It Cm IgnoreUserKnownHosts
                    506: Specifies whether
1.52      jmc       507: .Xr sshd 8
1.1       stevesk   508: should ignore the user's
1.41      djm       509: .Pa ~/.ssh/known_hosts
1.1       stevesk   510: during
                    511: .Cm RhostsRSAAuthentication
                    512: or
                    513: .Cm HostbasedAuthentication .
                    514: The default is
                    515: .Dq no .
1.129     djm       516: .It Cm IPQoS
                    517: Specifies the IPv4 type-of-service or DSCP class for the connection.
                    518: Accepted values are
                    519: .Dq af11 ,
                    520: .Dq af12 ,
                    521: .Dq af13 ,
                    522: .Dq af14 ,
                    523: .Dq af22 ,
                    524: .Dq af23 ,
                    525: .Dq af31 ,
                    526: .Dq af32 ,
                    527: .Dq af33 ,
                    528: .Dq af41 ,
                    529: .Dq af42 ,
                    530: .Dq af43 ,
                    531: .Dq cs0 ,
                    532: .Dq cs1 ,
                    533: .Dq cs2 ,
                    534: .Dq cs3 ,
                    535: .Dq cs4 ,
                    536: .Dq cs5 ,
                    537: .Dq cs6 ,
                    538: .Dq cs7 ,
                    539: .Dq ef ,
                    540: .Dq lowdelay ,
                    541: .Dq throughput ,
                    542: .Dq reliability ,
                    543: or a numeric value.
                    544: This option may take one or two arguments.
                    545: If one argument is specified, it is used as the packet class unconditionally.
                    546: If two values are specified, the first is automatically selected for
                    547: interactive sessions and the second for non-interactive sessions.
                    548: The default is
                    549: .Dq lowdelay
                    550: for interactive sessions and
                    551: .Dq throughput
                    552: for non-interactive sessions.
1.1       stevesk   553: .It Cm KerberosAuthentication
1.24      markus    554: Specifies whether the password provided by the user for
1.1       stevesk   555: .Cm PasswordAuthentication
1.24      markus    556: will be validated through the Kerberos KDC.
1.1       stevesk   557: To use this option, the server needs a
                    558: Kerberos servtab which allows the verification of the KDC's identity.
1.52      jmc       559: The default is
1.29      dtucker   560: .Dq no .
                    561: .It Cm KerberosGetAFSToken
1.45      djm       562: If AFS is active and the user has a Kerberos 5 TGT, attempt to acquire
1.29      dtucker   563: an AFS token before accessing the user's home directory.
1.52      jmc       564: The default is
1.1       stevesk   565: .Dq no .
                    566: .It Cm KerberosOrLocalPasswd
1.52      jmc       567: If password authentication through Kerberos fails then
1.1       stevesk   568: the password will be validated via any additional local mechanism
                    569: such as
                    570: .Pa /etc/passwd .
1.52      jmc       571: The default is
1.1       stevesk   572: .Dq yes .
                    573: .It Cm KerberosTicketCleanup
                    574: Specifies whether to automatically destroy the user's ticket cache
                    575: file on logout.
1.52      jmc       576: The default is
1.1       stevesk   577: .Dq yes .
1.127     djm       578: .It Cm KexAlgorithms
                    579: Specifies the available KEX (Key Exchange) algorithms.
                    580: Multiple algorithms must be comma-separated.
                    581: The default is
                    582: .Dq ecdh-sha2-nistp256 ,
                    583: .Dq ecdh-sha2-nistp384 ,
                    584: .Dq ecdh-sha2-nistp521 ,
1.130   ! jmc       585: .Dq diffie-hellman-group-exchange-sha256 ,
1.127     djm       586: .Dq diffie-hellman-group-exchange-sha1 ,
                    587: .Dq diffie-hellman-group14-sha1 ,
                    588: .Dq diffie-hellman-group1-sha1 .
1.1       stevesk   589: .It Cm KeyRegenerationInterval
                    590: In protocol version 1, the ephemeral server key is automatically regenerated
                    591: after this many seconds (if it has been used).
                    592: The purpose of regeneration is to prevent
                    593: decrypting captured sessions by later breaking into the machine and
                    594: stealing the keys.
                    595: The key is never stored anywhere.
                    596: If the value is 0, the key is never regenerated.
                    597: The default is 3600 (seconds).
                    598: .It Cm ListenAddress
                    599: Specifies the local addresses
1.52      jmc       600: .Xr sshd 8
1.1       stevesk   601: should listen on.
                    602: The following forms may be used:
                    603: .Pp
                    604: .Bl -item -offset indent -compact
                    605: .It
                    606: .Cm ListenAddress
                    607: .Sm off
                    608: .Ar host No | Ar IPv4_addr No | Ar IPv6_addr
                    609: .Sm on
                    610: .It
                    611: .Cm ListenAddress
                    612: .Sm off
                    613: .Ar host No | Ar IPv4_addr No : Ar port
                    614: .Sm on
                    615: .It
                    616: .Cm ListenAddress
                    617: .Sm off
                    618: .Oo
                    619: .Ar host No | Ar IPv6_addr Oc : Ar port
                    620: .Sm on
                    621: .El
                    622: .Pp
                    623: If
                    624: .Ar port
                    625: is not specified,
1.52      jmc       626: sshd will listen on the address and all prior
1.1       stevesk   627: .Cm Port
1.17      jmc       628: options specified.
                    629: The default is to listen on all local addresses.
1.15      jmc       630: Multiple
1.1       stevesk   631: .Cm ListenAddress
1.17      jmc       632: options are permitted.
                    633: Additionally, any
1.1       stevesk   634: .Cm Port
1.52      jmc       635: options must precede this option for non-port qualified addresses.
1.1       stevesk   636: .It Cm LoginGraceTime
                    637: The server disconnects after this time if the user has not
                    638: successfully logged in.
                    639: If the value is 0, there is no time limit.
1.12      stevesk   640: The default is 120 seconds.
1.1       stevesk   641: .It Cm LogLevel
                    642: Gives the verbosity level that is used when logging messages from
1.53      jmc       643: .Xr sshd 8 .
1.1       stevesk   644: The possible values are:
1.52      jmc       645: QUIET, FATAL, ERROR, INFO, VERBOSE, DEBUG, DEBUG1, DEBUG2, and DEBUG3.
1.15      jmc       646: The default is INFO.
                    647: DEBUG and DEBUG1 are equivalent.
                    648: DEBUG2 and DEBUG3 each specify higher levels of debugging output.
                    649: Logging with a DEBUG level violates the privacy of users and is not recommended.
1.1       stevesk   650: .It Cm MACs
                    651: Specifies the available MAC (message authentication code) algorithms.
                    652: The MAC algorithm is used in protocol version 2
                    653: for data integrity protection.
                    654: Multiple algorithms must be comma-separated.
1.52      jmc       655: The default is:
1.77      jmc       656: .Bd -literal -offset indent
                    657: hmac-md5,hmac-sha1,umac-64@openssh.com,
                    658: hmac-ripemd160,hmac-sha1-96,hmac-md5-96
                    659: .Ed
1.60      dtucker   660: .It Cm Match
1.61      jmc       661: Introduces a conditional block.
1.65      dtucker   662: If all of the criteria on the
1.60      dtucker   663: .Cm Match
1.65      dtucker   664: line are satisfied, the keywords on the following lines override those
                    665: set in the global section of the config file, until either another
1.60      dtucker   666: .Cm Match
1.65      dtucker   667: line or the end of the file.
1.91      djm       668: .Pp
1.61      jmc       669: The arguments to
1.60      dtucker   670: .Cm Match
1.65      dtucker   671: are one or more criteria-pattern pairs.
1.60      dtucker   672: The available criteria are
                    673: .Cm User ,
1.69      dtucker   674: .Cm Group ,
1.60      dtucker   675: .Cm Host ,
                    676: and
                    677: .Cm Address .
1.91      djm       678: The match patterns may consist of single entries or comma-separated
                    679: lists and may use the wildcard and negation operators described in the
1.92      djm       680: .Sx PATTERNS
1.91      djm       681: section of
1.92      djm       682: .Xr ssh_config 5 .
1.91      djm       683: .Pp
                    684: The patterns in an
                    685: .Cm Address
                    686: criteria may additionally contain addresses to match in CIDR
1.93      jmc       687: address/masklen format, e.g.\&
1.91      djm       688: .Dq 192.0.2.0/24
                    689: or
                    690: .Dq 3ffe:ffff::/32 .
                    691: Note that the mask length provided must be consistent with the address -
                    692: it is an error to specify a mask length that is too long for the address
1.93      jmc       693: or one with bits set in this host portion of the address.
                    694: For example,
1.91      djm       695: .Dq 192.0.2.0/33
                    696: and
1.93      jmc       697: .Dq 192.0.2.0/8
1.91      djm       698: respectively.
                    699: .Pp
1.60      dtucker   700: Only a subset of keywords may be used on the lines following a
                    701: .Cm Match
                    702: keyword.
                    703: Available keywords are
1.99      okan      704: .Cm AllowAgentForwarding ,
1.62      dtucker   705: .Cm AllowTcpForwarding ,
1.123     djm       706: .Cm AuthorizedKeysFile ,
                    707: .Cm AuthorizedPrincipalsFile ,
1.72      dtucker   708: .Cm Banner ,
1.85      djm       709: .Cm ChrootDirectory ,
1.67      dtucker   710: .Cm ForceCommand ,
1.62      dtucker   711: .Cm GatewayPorts ,
1.87      djm       712: .Cm GSSAPIAuthentication ,
                    713: .Cm HostbasedAuthentication ,
1.123     djm       714: .Cm HostbasedUsesNameFromPacketOnly ,
1.74      jmc       715: .Cm KbdInteractiveAuthentication ,
1.72      dtucker   716: .Cm KerberosAuthentication ,
1.95      dtucker   717: .Cm MaxAuthTries ,
1.94      dtucker   718: .Cm MaxSessions ,
1.72      dtucker   719: .Cm PasswordAuthentication ,
1.97      djm       720: .Cm PermitEmptyPasswords ,
1.66      dtucker   721: .Cm PermitOpen ,
1.79      dtucker   722: .Cm PermitRootLogin ,
1.123     djm       723: .Cm PermitTunnel ,
1.107     dtucker   724: .Cm PubkeyAuthentication ,
1.72      dtucker   725: .Cm RhostsRSAAuthentication ,
                    726: .Cm RSAAuthentication ,
1.66      dtucker   727: .Cm X11DisplayOffset ,
1.101     djm       728: .Cm X11Forwarding
1.60      dtucker   729: and
1.102     djm       730: .Cm X11UseLocalHost .
1.33      dtucker   731: .It Cm MaxAuthTries
                    732: Specifies the maximum number of authentication attempts permitted per
1.35      jmc       733: connection.
                    734: Once the number of failures reaches half this value,
                    735: additional failures are logged.
                    736: The default is 6.
1.90      djm       737: .It Cm MaxSessions
                    738: Specifies the maximum number of open sessions permitted per network connection.
                    739: The default is 10.
1.1       stevesk   740: .It Cm MaxStartups
                    741: Specifies the maximum number of concurrent unauthenticated connections to the
1.52      jmc       742: SSH daemon.
1.1       stevesk   743: Additional connections will be dropped until authentication succeeds or the
                    744: .Cm LoginGraceTime
                    745: expires for a connection.
                    746: The default is 10.
                    747: .Pp
                    748: Alternatively, random early drop can be enabled by specifying
                    749: the three colon separated values
                    750: .Dq start:rate:full
1.51      jmc       751: (e.g. "10:30:60").
1.53      jmc       752: .Xr sshd 8
1.1       stevesk   753: will refuse connection attempts with a probability of
                    754: .Dq rate/100
                    755: (30%)
                    756: if there are currently
                    757: .Dq start
                    758: (10)
                    759: unauthenticated connections.
                    760: The probability increases linearly and all connection attempts
                    761: are refused if the number of unauthenticated connections reaches
                    762: .Dq full
                    763: (60).
                    764: .It Cm PasswordAuthentication
                    765: Specifies whether password authentication is allowed.
                    766: The default is
                    767: .Dq yes .
                    768: .It Cm PermitEmptyPasswords
                    769: When password authentication is allowed, it specifies whether the
                    770: server allows login to accounts with empty password strings.
                    771: The default is
                    772: .Dq no .
1.62      dtucker   773: .It Cm PermitOpen
                    774: Specifies the destinations to which TCP port forwarding is permitted.
                    775: The forwarding specification must be one of the following forms:
                    776: .Pp
                    777: .Bl -item -offset indent -compact
                    778: .It
                    779: .Cm PermitOpen
                    780: .Sm off
                    781: .Ar host : port
                    782: .Sm on
                    783: .It
                    784: .Cm PermitOpen
                    785: .Sm off
                    786: .Ar IPv4_addr : port
                    787: .Sm on
                    788: .It
                    789: .Cm PermitOpen
                    790: .Sm off
                    791: .Ar \&[ IPv6_addr \&] : port
                    792: .Sm on
                    793: .El
                    794: .Pp
1.68      dtucker   795: Multiple forwards may be specified by separating them with whitespace.
1.62      dtucker   796: An argument of
                    797: .Dq any
                    798: can be used to remove all restrictions and permit any forwarding requests.
1.63      jmc       799: By default all port forwarding requests are permitted.
1.1       stevesk   800: .It Cm PermitRootLogin
1.38      jmc       801: Specifies whether root can log in using
1.1       stevesk   802: .Xr ssh 1 .
                    803: The argument must be
                    804: .Dq yes ,
                    805: .Dq without-password ,
1.52      jmc       806: .Dq forced-commands-only ,
1.1       stevesk   807: or
                    808: .Dq no .
                    809: The default is
                    810: .Dq yes .
                    811: .Pp
                    812: If this option is set to
1.52      jmc       813: .Dq without-password ,
1.1       stevesk   814: password authentication is disabled for root.
                    815: .Pp
                    816: If this option is set to
1.52      jmc       817: .Dq forced-commands-only ,
1.1       stevesk   818: root login with public key authentication will be allowed,
                    819: but only if the
                    820: .Ar command
                    821: option has been specified
                    822: (which may be useful for taking remote backups even if root login is
1.17      jmc       823: normally not allowed).
                    824: All other authentication methods are disabled for root.
1.1       stevesk   825: .Pp
                    826: If this option is set to
1.52      jmc       827: .Dq no ,
1.38      jmc       828: root is not allowed to log in.
1.46      reyk      829: .It Cm PermitTunnel
                    830: Specifies whether
                    831: .Xr tun 4
                    832: device forwarding is allowed.
1.47      reyk      833: The argument must be
                    834: .Dq yes ,
1.58      stevesk   835: .Dq point-to-point
                    836: (layer 3),
                    837: .Dq ethernet
                    838: (layer 2), or
1.47      reyk      839: .Dq no .
1.58      stevesk   840: Specifying
                    841: .Dq yes
                    842: permits both
                    843: .Dq point-to-point
                    844: and
                    845: .Dq ethernet .
1.46      reyk      846: The default is
                    847: .Dq no .
1.6       markus    848: .It Cm PermitUserEnvironment
                    849: Specifies whether
                    850: .Pa ~/.ssh/environment
1.9       stevesk   851: and
1.6       markus    852: .Cm environment=
                    853: options in
                    854: .Pa ~/.ssh/authorized_keys
1.9       stevesk   855: are processed by
1.52      jmc       856: .Xr sshd 8 .
1.6       markus    857: The default is
                    858: .Dq no .
1.9       stevesk   859: Enabling environment processing may enable users to bypass access
                    860: restrictions in some configurations using mechanisms such as
                    861: .Ev LD_PRELOAD .
1.1       stevesk   862: .It Cm PidFile
1.4       stevesk   863: Specifies the file that contains the process ID of the
1.53      jmc       864: SSH daemon.
1.1       stevesk   865: The default is
                    866: .Pa /var/run/sshd.pid .
                    867: .It Cm Port
                    868: Specifies the port number that
1.52      jmc       869: .Xr sshd 8
1.1       stevesk   870: listens on.
                    871: The default is 22.
                    872: Multiple options of this type are permitted.
                    873: See also
                    874: .Cm ListenAddress .
                    875: .It Cm PrintLastLog
                    876: Specifies whether
1.52      jmc       877: .Xr sshd 8
1.36      jaredy    878: should print the date and time of the last user login when a user logs
                    879: in interactively.
1.1       stevesk   880: The default is
                    881: .Dq yes .
                    882: .It Cm PrintMotd
                    883: Specifies whether
1.52      jmc       884: .Xr sshd 8
1.1       stevesk   885: should print
                    886: .Pa /etc/motd
                    887: when a user logs in interactively.
                    888: (On some systems it is also printed by the shell,
                    889: .Pa /etc/profile ,
                    890: or equivalent.)
                    891: The default is
                    892: .Dq yes .
                    893: .It Cm Protocol
                    894: Specifies the protocol versions
1.52      jmc       895: .Xr sshd 8
1.5       stevesk   896: supports.
1.1       stevesk   897: The possible values are
1.52      jmc       898: .Sq 1
1.1       stevesk   899: and
1.52      jmc       900: .Sq 2 .
1.1       stevesk   901: Multiple versions must be comma-separated.
                    902: The default is
1.109     jmc       903: .Sq 2 .
1.5       stevesk   904: Note that the order of the protocol list does not indicate preference,
                    905: because the client selects among multiple protocol versions offered
                    906: by the server.
                    907: Specifying
                    908: .Dq 2,1
                    909: is identical to
                    910: .Dq 1,2 .
1.1       stevesk   911: .It Cm PubkeyAuthentication
                    912: Specifies whether public key authentication is allowed.
                    913: The default is
                    914: .Dq yes .
                    915: Note that this option applies to protocol version 2 only.
1.118     djm       916: .It Cm RevokedKeys
                    917: Specifies a list of revoked public keys.
                    918: Keys listed in this file will be refused for public key authentication.
                    919: Note that if this file is not readable, then public key authentication will
                    920: be refused for all users.
1.1       stevesk   921: .It Cm RhostsRSAAuthentication
                    922: Specifies whether rhosts or /etc/hosts.equiv authentication together
                    923: with successful RSA host authentication is allowed.
                    924: The default is
                    925: .Dq no .
                    926: This option applies to protocol version 1 only.
                    927: .It Cm RSAAuthentication
                    928: Specifies whether pure RSA authentication is allowed.
                    929: The default is
                    930: .Dq yes .
                    931: This option applies to protocol version 1 only.
                    932: .It Cm ServerKeyBits
                    933: Defines the number of bits in the ephemeral protocol version 1 server key.
1.96      djm       934: The minimum value is 512, and the default is 1024.
1.1       stevesk   935: .It Cm StrictModes
                    936: Specifies whether
1.52      jmc       937: .Xr sshd 8
1.1       stevesk   938: should check file modes and ownership of the
                    939: user's files and home directory before accepting login.
                    940: This is normally desirable because novices sometimes accidentally leave their
                    941: directory or files world-writable.
                    942: The default is
                    943: .Dq yes .
1.112     djm       944: Note that this does not apply to
                    945: .Cm ChrootDirectory ,
                    946: whose permissions and ownership are checked unconditionally.
1.1       stevesk   947: .It Cm Subsystem
1.51      jmc       948: Configures an external subsystem (e.g. file transfer daemon).
1.59      djm       949: Arguments should be a subsystem name and a command (with optional arguments)
                    950: to execute upon subsystem request.
1.80      djm       951: .Pp
1.1       stevesk   952: The command
                    953: .Xr sftp-server 8
                    954: implements the
                    955: .Dq sftp
                    956: file transfer subsystem.
1.80      djm       957: .Pp
                    958: Alternately the name
                    959: .Dq internal-sftp
                    960: implements an in-process
                    961: .Dq sftp
                    962: server.
                    963: This may simplify configurations using
                    964: .Cm ChrootDirectory
                    965: to force a different filesystem root on clients.
                    966: .Pp
1.1       stevesk   967: By default no subsystems are defined.
                    968: Note that this option applies to protocol version 2 only.
                    969: .It Cm SyslogFacility
                    970: Gives the facility code that is used when logging messages from
1.53      jmc       971: .Xr sshd 8 .
1.1       stevesk   972: The possible values are: DAEMON, USER, AUTH, LOCAL0, LOCAL1, LOCAL2,
                    973: LOCAL3, LOCAL4, LOCAL5, LOCAL6, LOCAL7.
                    974: The default is AUTH.
1.27      markus    975: .It Cm TCPKeepAlive
                    976: Specifies whether the system should send TCP keepalive messages to the
                    977: other side.
                    978: If they are sent, death of the connection or crash of one
                    979: of the machines will be properly noticed.
                    980: However, this means that
                    981: connections will die if the route is down temporarily, and some people
                    982: find it annoying.
                    983: On the other hand, if TCP keepalives are not sent,
                    984: sessions may hang indefinitely on the server, leaving
                    985: .Dq ghost
                    986: users and consuming server resources.
                    987: .Pp
                    988: The default is
                    989: .Dq yes
                    990: (to send TCP keepalive messages), and the server will notice
                    991: if the network goes down or the client host crashes.
                    992: This avoids infinitely hanging sessions.
                    993: .Pp
                    994: To disable TCP keepalive messages, the value should be set to
                    995: .Dq no .
1.118     djm       996: .It Cm TrustedUserCAKeys
                    997: Specifies a file containing public keys of certificate authorities that are
1.120     djm       998: trusted to sign user certificates for authentication.
1.119     jmc       999: Keys are listed one per line; empty lines and comments starting with
1.118     djm      1000: .Ql #
                   1001: are allowed.
                   1002: If a certificate is presented for authentication and has its signing CA key
                   1003: listed in this file, then it may be used for authentication for any user
                   1004: listed in the certificate's principals list.
                   1005: Note that certificates that lack a list of principals will not be permitted
                   1006: for authentication using
                   1007: .Cm TrustedUserCAKeys .
1.119     jmc      1008: For more details on certificates, see the
1.118     djm      1009: .Sx CERTIFICATES
                   1010: section in
                   1011: .Xr ssh-keygen 1 .
1.18      markus   1012: .It Cm UseDNS
                   1013: Specifies whether
1.52      jmc      1014: .Xr sshd 8
1.40      jmc      1015: should look up the remote host name and check that
1.18      markus   1016: the resolved host name for the remote IP address maps back to the
                   1017: very same IP address.
                   1018: The default is
                   1019: .Dq yes .
1.1       stevesk  1020: .It Cm UseLogin
                   1021: Specifies whether
                   1022: .Xr login 1
                   1023: is used for interactive login sessions.
                   1024: The default is
                   1025: .Dq no .
                   1026: Note that
                   1027: .Xr login 1
                   1028: is never used for remote command execution.
                   1029: Note also, that if this is enabled,
                   1030: .Cm X11Forwarding
                   1031: will be disabled because
                   1032: .Xr login 1
                   1033: does not know how to handle
                   1034: .Xr xauth 1
1.15      jmc      1035: cookies.
                   1036: If
1.1       stevesk  1037: .Cm UsePrivilegeSeparation
                   1038: is specified, it will be disabled after authentication.
                   1039: .It Cm UsePrivilegeSeparation
                   1040: Specifies whether
1.52      jmc      1041: .Xr sshd 8
1.2       stevesk  1042: separates privileges by creating an unprivileged child process
1.15      jmc      1043: to deal with incoming network traffic.
                   1044: After successful authentication, another process will be created that has
                   1045: the privilege of the authenticated user.
                   1046: The goal of privilege separation is to prevent privilege
1.1       stevesk  1047: escalation by containing any corruption within the unprivileged processes.
                   1048: The default is
                   1049: .Dq yes .
                   1050: .It Cm X11DisplayOffset
                   1051: Specifies the first display number available for
1.52      jmc      1052: .Xr sshd 8 Ns 's
1.1       stevesk  1053: X11 forwarding.
1.52      jmc      1054: This prevents sshd from interfering with real X11 servers.
1.1       stevesk  1055: The default is 10.
                   1056: .It Cm X11Forwarding
                   1057: Specifies whether X11 forwarding is permitted.
1.13      stevesk  1058: The argument must be
                   1059: .Dq yes
                   1060: or
                   1061: .Dq no .
1.1       stevesk  1062: The default is
                   1063: .Dq no .
1.13      stevesk  1064: .Pp
                   1065: When X11 forwarding is enabled, there may be additional exposure to
                   1066: the server and to client displays if the
1.52      jmc      1067: .Xr sshd 8
1.13      stevesk  1068: proxy display is configured to listen on the wildcard address (see
                   1069: .Cm X11UseLocalhost
1.52      jmc      1070: below), though this is not the default.
1.13      stevesk  1071: Additionally, the authentication spoofing and authentication data
                   1072: verification and substitution occur on the client side.
                   1073: The security risk of using X11 forwarding is that the client's X11
1.52      jmc      1074: display server may be exposed to attack when the SSH client requests
1.13      stevesk  1075: forwarding (see the warnings for
                   1076: .Cm ForwardX11
                   1077: in
1.19      jmc      1078: .Xr ssh_config 5 ) .
1.13      stevesk  1079: A system administrator may have a stance in which they want to
                   1080: protect clients that may expose themselves to attack by unwittingly
                   1081: requesting X11 forwarding, which can warrant a
                   1082: .Dq no
                   1083: setting.
                   1084: .Pp
                   1085: Note that disabling X11 forwarding does not prevent users from
                   1086: forwarding X11 traffic, as users can always install their own forwarders.
1.1       stevesk  1087: X11 forwarding is automatically disabled if
                   1088: .Cm UseLogin
                   1089: is enabled.
                   1090: .It Cm X11UseLocalhost
                   1091: Specifies whether
1.52      jmc      1092: .Xr sshd 8
1.1       stevesk  1093: should bind the X11 forwarding server to the loopback address or to
1.15      jmc      1094: the wildcard address.
                   1095: By default,
1.52      jmc      1096: sshd binds the forwarding server to the loopback address and sets the
1.1       stevesk  1097: hostname part of the
                   1098: .Ev DISPLAY
                   1099: environment variable to
                   1100: .Dq localhost .
1.8       stevesk  1101: This prevents remote hosts from connecting to the proxy display.
1.1       stevesk  1102: However, some older X11 clients may not function with this
                   1103: configuration.
                   1104: .Cm X11UseLocalhost
                   1105: may be set to
                   1106: .Dq no
                   1107: to specify that the forwarding server should be bound to the wildcard
                   1108: address.
                   1109: The argument must be
                   1110: .Dq yes
                   1111: or
                   1112: .Dq no .
                   1113: The default is
                   1114: .Dq yes .
                   1115: .It Cm XAuthLocation
1.11      stevesk  1116: Specifies the full pathname of the
1.1       stevesk  1117: .Xr xauth 1
                   1118: program.
                   1119: The default is
                   1120: .Pa /usr/X11R6/bin/xauth .
                   1121: .El
1.55      jmc      1122: .Sh TIME FORMATS
1.53      jmc      1123: .Xr sshd 8
1.1       stevesk  1124: command-line arguments and configuration file options that specify time
                   1125: may be expressed using a sequence of the form:
                   1126: .Sm off
1.7       stevesk  1127: .Ar time Op Ar qualifier ,
1.1       stevesk  1128: .Sm on
                   1129: where
                   1130: .Ar time
                   1131: is a positive integer value and
                   1132: .Ar qualifier
                   1133: is one of the following:
                   1134: .Pp
                   1135: .Bl -tag -width Ds -compact -offset indent
1.64      jmc      1136: .It Aq Cm none
1.1       stevesk  1137: seconds
                   1138: .It Cm s | Cm S
                   1139: seconds
                   1140: .It Cm m | Cm M
                   1141: minutes
                   1142: .It Cm h | Cm H
                   1143: hours
                   1144: .It Cm d | Cm D
                   1145: days
                   1146: .It Cm w | Cm W
                   1147: weeks
                   1148: .El
                   1149: .Pp
                   1150: Each member of the sequence is added together to calculate
                   1151: the total time value.
                   1152: .Pp
                   1153: Time format examples:
                   1154: .Pp
                   1155: .Bl -tag -width Ds -compact -offset indent
                   1156: .It 600
                   1157: 600 seconds (10 minutes)
                   1158: .It 10m
                   1159: 10 minutes
                   1160: .It 1h30m
                   1161: 1 hour 30 minutes (90 minutes)
                   1162: .El
                   1163: .Sh FILES
                   1164: .Bl -tag -width Ds
                   1165: .It Pa /etc/ssh/sshd_config
                   1166: Contains configuration data for
1.53      jmc      1167: .Xr sshd 8 .
1.1       stevesk  1168: This file should be writable by root only, but it is recommended
                   1169: (though not necessary) that it be world-readable.
                   1170: .El
1.19      jmc      1171: .Sh SEE ALSO
                   1172: .Xr sshd 8
1.1       stevesk  1173: .Sh AUTHORS
                   1174: OpenSSH is a derivative of the original and free
                   1175: ssh 1.2.12 release by Tatu Ylonen.
                   1176: Aaron Campbell, Bob Beck, Markus Friedl, Niels Provos,
                   1177: Theo de Raadt and Dug Song
                   1178: removed many bugs, re-added newer features and
                   1179: created OpenSSH.
                   1180: Markus Friedl contributed the support for SSH
                   1181: protocol versions 1.5 and 2.0.
                   1182: Niels Provos and Markus Friedl contributed support
                   1183: for privilege separation.