summaryrefslogtreecommitdiff
path: root/sshd.8
diff options
context:
space:
mode:
Diffstat (limited to 'sshd.8')
-rw-r--r--sshd.837
1 files changed, 21 insertions, 16 deletions
diff --git a/sshd.8 b/sshd.8
index 8c2306579..378aeb9f5 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,10 +166,10 @@ 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_rsa_key , 169.Pa /etc/ssh/ssh_host_ecdsa_key ,
168.Pa /etc/ssh/ssh_host_ecdsa_key 170.Pa /etc/ssh/ssh_host_ed25519_key
169and 171and
170.Pa /etc/ssh/ssh_host_ed25519_key . 172.Pa /etc/ssh/ssh_host_rsa_key .
171It is possible to have multiple host key files for 173It is possible to have multiple host key files for
172the different host key algorithms. 174the different host key algorithms.
173.It Fl i 175.It Fl i
@@ -451,7 +453,7 @@ or the
451file and edit it. 453file and edit it.
452.Pp 454.Pp
453.Nm 455.Nm
454enforces a minimum RSA key modulus size of 768 bits. 456enforces a minimum RSA key modulus size of 1024 bits.
455.Pp 457.Pp
456The options (if present) consist of comma-separated option 458The options (if present) consist of comma-separated option
457specifications. 459specifications.
@@ -511,6 +513,10 @@ Environment processing is disabled by default and is
511controlled via the 513controlled via the
512.Cm PermitUserEnvironment 514.Cm PermitUserEnvironment
513option. 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.
514.It Cm from="pattern-list" 520.It Cm from="pattern-list"
515Specifies that in addition to public key authentication, either the canonical 521Specifies that in addition to public key authentication, either the canonical
516name 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
@@ -565,6 +571,7 @@ matches any port.
565.It Cm port-forwarding 571.It Cm port-forwarding
566Enable port forwarding previously disabled by the 572Enable port forwarding previously disabled by the
567.Cm restrict 573.Cm restrict
574option.
568.It Cm principals="principals" 575.It Cm principals="principals"
569On a 576On a
570.Cm cert-authority 577.Cm cert-authority
@@ -876,7 +883,6 @@ This file is used in exactly the same way as
876but allows host-based authentication without permitting login with 883but allows host-based authentication without permitting login with
877rlogin/rsh. 884rlogin/rsh.
878.Pp 885.Pp
879.It Pa /etc/ssh/ssh_host_dsa_key
880.It Pa /etc/ssh/ssh_host_ecdsa_key 886.It Pa /etc/ssh/ssh_host_ecdsa_key
881.It Pa /etc/ssh/ssh_host_ed25519_key 887.It Pa /etc/ssh/ssh_host_ed25519_key
882.It Pa /etc/ssh/ssh_host_rsa_key 888.It Pa /etc/ssh/ssh_host_rsa_key
@@ -887,7 +893,6 @@ Note that
887.Nm 893.Nm
888does not start if these files are group/world-accessible. 894does not start if these files are group/world-accessible.
889.Pp 895.Pp
890.It Pa /etc/ssh/ssh_host_dsa_key.pub
891.It Pa /etc/ssh/ssh_host_ecdsa_key.pub 896.It Pa /etc/ssh/ssh_host_ecdsa_key.pub
892.It Pa /etc/ssh/ssh_host_ed25519_key.pub 897.It Pa /etc/ssh/ssh_host_ed25519_key.pub
893.It Pa /etc/ssh/ssh_host_rsa_key.pub 898.It Pa /etc/ssh/ssh_host_rsa_key.pub