comparison dropbear.8 @ 1818:587c76726b5f

Add "restrict" authorized_keys option
author Matt Johnston <matt@ucc.asn.au>
date Sat, 01 May 2021 20:47:15 +0800
parents 94323a20e572
children 5120e22882de
comparison
equal deleted inserted replaced
1817:209711833f15 1818:587c76726b5f
133 .B no-pty 133 .B no-pty
134 Disable PTY allocation. Note that a user can still obtain most of the 134 Disable PTY allocation. Note that a user can still obtain most of the
135 same functionality with other means even if no-pty is set. 135 same functionality with other means even if no-pty is set.
136 136
137 .TP 137 .TP
138 .B restrict
139 Applies all the no- restrictions listed above.
140
141 .TP
138 .B command=\fR"\fIforced_command\fR" 142 .B command=\fR"\fIforced_command\fR"
139 Disregard the command provided by the user and always run \fIforced_command\fR. 143 Disregard the command provided by the user and always run \fIforced_command\fR.
140 The -c command line option overrides this. 144 The -c command line option overrides this.
141 145
142 The authorized_keys file and its containing ~/.ssh directory must only be 146 The authorized_keys file and its containing ~/.ssh directory must only be