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 522ac103f..39ef781ff 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
@@ -208,16 +208,16 @@ PAM).
208The default is 208The default is
209.Dq yes . 209.Dq yes .
210.It Cm ChrootDirectory 210.It Cm ChrootDirectory
211Specifies a path to 211Specifies the pathname of a directory to
212.Xr chroot 2 212.Xr chroot 2
213to after authentication. 213to after authentication.
214This path, and all its components, must be root-owned directories that are 214All components of the pathname must be root-owned directories that are
215not writable by any other user or group. 215not writable by any other user or group.
216After the chroot, 216After the chroot,
217.Xr sshd 8 217.Xr sshd 8
218changes the working directory to the user's home directory. 218changes the working directory to the user's home directory.
219.Pp 219.Pp
220The path may contain the following tokens that are expanded at runtime once 220The pathname may contain the following tokens that are expanded at runtime once
221the connecting user has been authenticated: %% is replaced by a literal '%', 221the connecting user has been authenticated: %% is replaced by a literal '%',
222%h is replaced by the home directory of the user being authenticated, and 222%h is replaced by the home directory of the user being authenticated, and
223%u is replaced by the username of that user. 223%u is replaced by the username of that user.
@@ -470,6 +470,14 @@ uses the name supplied by the client rather than
470attempting to resolve the name from the TCP connection itself. 470attempting to resolve the name from the TCP connection itself.
471The default is 471The default is
472.Dq no . 472.Dq no .
473.It Cm HostCertificate
474Specifies a file containing a public host certificate.
475The certificate's public key must match a private host key already specified
476by
477.Cm HostKey .
478The default behaviour of
479.Xr sshd 8
480is not to load any certificates.
473.It Cm HostKey 481.It Cm HostKey
474Specifies a file containing a private host key 482Specifies a file containing a private host key
475used by SSH. 483used by SSH.
@@ -673,6 +681,7 @@ Available keywords are
673.Cm PermitEmptyPasswords , 681.Cm PermitEmptyPasswords ,
674.Cm PermitOpen , 682.Cm PermitOpen ,
675.Cm PermitRootLogin , 683.Cm PermitRootLogin ,
684.Cm PubkeyAuthentication ,
676.Cm RhostsRSAAuthentication , 685.Cm RhostsRSAAuthentication ,
677.Cm RSAAuthentication , 686.Cm RSAAuthentication ,
678.Cm X11DisplayOffset , 687.Cm X11DisplayOffset ,
@@ -865,7 +874,7 @@ and
865.Sq 2 . 874.Sq 2 .
866Multiple versions must be comma-separated. 875Multiple versions must be comma-separated.
867The default is 876The default is
868.Dq 2,1 . 877.Sq 2 .
869Note that the order of the protocol list does not indicate preference, 878Note that the order of the protocol list does not indicate preference,
870because the client selects among multiple protocol versions offered 879because the client selects among multiple protocol versions offered
871by the server. 880by the server.
@@ -878,6 +887,11 @@ Specifies whether public key authentication is allowed.
878The default is 887The default is
879.Dq yes . 888.Dq yes .
880Note that this option applies to protocol version 2 only. 889Note that this option applies to protocol version 2 only.
890.It Cm RevokedKeys
891Specifies a list of revoked public keys.
892Keys listed in this file will be refused for public key authentication.
893Note that if this file is not readable, then public key authentication will
894be refused for all users.
881.It Cm RhostsRSAAuthentication 895.It Cm RhostsRSAAuthentication
882Specifies whether rhosts or /etc/hosts.equiv authentication together 896Specifies whether rhosts or /etc/hosts.equiv authentication together
883with successful RSA host authentication is allowed. 897with successful RSA host authentication is allowed.
@@ -901,6 +915,9 @@ This is normally desirable because novices sometimes accidentally leave their
901directory or files world-writable. 915directory or files world-writable.
902The default is 916The default is
903.Dq yes . 917.Dq yes .
918Note that this does not apply to
919.Cm ChrootDirectory ,
920whose permissions and ownership are checked unconditionally.
904.It Cm Subsystem 921.It Cm Subsystem
905Configures an external subsystem (e.g. file transfer daemon). 922Configures an external subsystem (e.g. file transfer daemon).
906Arguments should be a subsystem name and a command (with optional arguments) 923Arguments should be a subsystem name and a command (with optional arguments)
@@ -953,6 +970,22 @@ To disable TCP keepalive messages, the value should be set to
953.Pp 970.Pp
954This option was formerly called 971This option was formerly called
955.Cm KeepAlive . 972.Cm KeepAlive .
973.It Cm TrustedUserCAKeys
974Specifies a file containing public keys of certificate authorities that are
975trusted to sign user certificates for authentication.
976Keys are listed one per line; empty lines and comments starting with
977.Ql #
978are allowed.
979If a certificate is presented for authentication and has its signing CA key
980listed in this file, then it may be used for authentication for any user
981listed in the certificate's principals list.
982Note that certificates that lack a list of principals will not be permitted
983for authentication using
984.Cm TrustedUserCAKeys .
985For more details on certificates, see the
986.Sx CERTIFICATES
987section in
988.Xr ssh-keygen 1 .
956.It Cm UseDNS 989.It Cm UseDNS
957Specifies whether 990Specifies whether
958.Xr sshd 8 991.Xr sshd 8