summaryrefslogtreecommitdiff
path: root/sshd.8
diff options
context:
space:
mode:
Diffstat (limited to 'sshd.8')
-rw-r--r--sshd.832
1 files changed, 18 insertions, 14 deletions
diff --git a/sshd.8 b/sshd.8
index a4201146b..968ba66bb 100644
--- a/sshd.8
+++ b/sshd.8
@@ -33,8 +33,8 @@
33.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 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. 34.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35.\" 35.\"
36.\" $OpenBSD: sshd.8,v 1.291 2017/06/24 06:28:50 jmc Exp $ 36.\" $OpenBSD: sshd.8,v 1.299 2018/03/14 06:56:20 jmc Exp $
37.Dd $Mdocdate: June 24 2017 $ 37.Dd $Mdocdate: March 14 2018 $
38.Dt SSHD 8 38.Dt SSHD 8
39.Os 39.Os
40.Sh NAME 40.Sh NAME
@@ -100,20 +100,22 @@ Specify the connection parameters to use for the
100extended test mode. 100extended test mode.
101If provided, any 101If provided, any
102.Cm Match 102.Cm Match
103directives in the configuration file 103directives in the configuration file that would apply are applied before the
104that would apply to the specified user, host, and address will be set before 104configuration is written to standard output.
105the configuration is written to standard output. 105The connection parameters are supplied as keyword=value pairs and may be
106The connection parameters are supplied as keyword=value pairs. 106supplied in any order, either with multiple
107.Fl C
108options or as a comma-separated list.
107The keywords are 109The keywords are
110.Dq addr,
108.Dq user , 111.Dq user ,
109.Dq host , 112.Dq host ,
110.Dq laddr , 113.Dq laddr ,
111.Dq lport , 114.Dq lport ,
112and 115and
113.Dq addr . 116.Dq rdomain
114All are required and may be supplied in any order, either with multiple 117and correspond to source address, user, resolved source host name,
115.Fl C 118local address, local port number and routing domain respectively.
116options or as a comma-separated list.
117.It Fl c Ar host_certificate_file 119.It Fl c Ar host_certificate_file
118Specifies a path to a certificate file to identify 120Specifies a path to a certificate file to identify
119.Nm 121.Nm
@@ -164,7 +166,6 @@ This option must be given if
164is not run as root (as the normal 166is not run as root (as the normal
165host key files are normally not readable by anyone but root). 167host key files are normally not readable by anyone but root).
166The default is 168The default is
167.Pa /etc/ssh/ssh_host_dsa_key ,
168.Pa /etc/ssh/ssh_host_ecdsa_key , 169.Pa /etc/ssh/ssh_host_ecdsa_key ,
169.Pa /etc/ssh/ssh_host_ed25519_key 170.Pa /etc/ssh/ssh_host_ed25519_key
170and 171and
@@ -452,7 +453,7 @@ or the
452file and edit it. 453file and edit it.
453.Pp 454.Pp
454.Nm 455.Nm
455enforces a minimum RSA key modulus size of 768 bits. 456enforces a minimum RSA key modulus size of 1024 bits.
456.Pp 457.Pp
457The options (if present) consist of comma-separated option 458The options (if present) consist of comma-separated option
458specifications. 459specifications.
@@ -512,6 +513,10 @@ Environment processing is disabled by default and is
512controlled via the 513controlled via the
513.Cm PermitUserEnvironment 514.Cm PermitUserEnvironment
514option. 515option.
516.It Cm expiry-time="timespec"
517Specifies a time after which the key will not be accepted.
518The time may be specified as a YYYYMMDD date or a YYYYMMDDHHMM[SS] time
519in the system time-zone.
515.It Cm from="pattern-list" 520.It Cm from="pattern-list"
516Specifies that in addition to public key authentication, either the canonical 521Specifies that in addition to public key authentication, either the canonical
517name of the remote host or its IP address must be present in the 522name of the remote host or its IP address must be present in the
@@ -566,6 +571,7 @@ matches any port.
566.It Cm port-forwarding 571.It Cm port-forwarding
567Enable port forwarding previously disabled by the 572Enable port forwarding previously disabled by the
568.Cm restrict 573.Cm restrict
574option.
569.It Cm principals="principals" 575.It Cm principals="principals"
570On a 576On a
571.Cm cert-authority 577.Cm cert-authority
@@ -871,7 +877,6 @@ This file is used in exactly the same way as
871but allows host-based authentication without permitting login with 877but allows host-based authentication without permitting login with
872rlogin/rsh. 878rlogin/rsh.
873.Pp 879.Pp
874.It Pa /etc/ssh/ssh_host_dsa_key
875.It Pa /etc/ssh/ssh_host_ecdsa_key 880.It Pa /etc/ssh/ssh_host_ecdsa_key
876.It Pa /etc/ssh/ssh_host_ed25519_key 881.It Pa /etc/ssh/ssh_host_ed25519_key
877.It Pa /etc/ssh/ssh_host_rsa_key 882.It Pa /etc/ssh/ssh_host_rsa_key
@@ -882,7 +887,6 @@ Note that
882.Nm 887.Nm
883does not start if these files are group/world-accessible. 888does not start if these files are group/world-accessible.
884.Pp 889.Pp
885.It Pa /etc/ssh/ssh_host_dsa_key.pub
886.It Pa /etc/ssh/ssh_host_ecdsa_key.pub 890.It Pa /etc/ssh/ssh_host_ecdsa_key.pub
887.It Pa /etc/ssh/ssh_host_ed25519_key.pub 891.It Pa /etc/ssh/ssh_host_ed25519_key.pub
888.It Pa /etc/ssh/ssh_host_rsa_key.pub 892.It Pa /etc/ssh/ssh_host_rsa_key.pub