summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2014-12-22 08:04:23 +0000
committerDamien Miller <djm@mindrot.org>2014-12-22 19:08:12 +1100
commitf1c4d8ec52158b6f57834b8cd839605b0a33e7f2 (patch)
tree2982f8a7d1e00a47a4c9cf325702a477c98529b4
parent161cf419f412446635013ac49e8c660cadc36080 (diff)
upstream commit
correct description of what will happen when a AuthorizedKeysCommand is specified but AuthorizedKeysCommandUser is not (sshd will refuse to start)
-rw-r--r--sshd_config.510
1 files changed, 7 insertions, 3 deletions
diff --git a/sshd_config.5 b/sshd_config.5
index d2ab28136..40a1dbdea 100644
--- a/sshd_config.5
+++ b/sshd_config.5
@@ -33,7 +33,7 @@
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_config.5,v 1.185 2014/12/22 07:51:30 djm Exp $ 36.\" $OpenBSD: sshd_config.5,v 1.186 2014/12/22 08:04:23 djm Exp $
37.Dd $Mdocdate: December 22 2014 $ 37.Dd $Mdocdate: December 22 2014 $
38.Dt SSHD_CONFIG 5 38.Dt SSHD_CONFIG 5
39.Os 39.Os
@@ -244,9 +244,13 @@ By default, no AuthorizedKeysCommand is run.
244Specifies the user under whose account the AuthorizedKeysCommand is run. 244Specifies the user under whose account the AuthorizedKeysCommand is run.
245It is recommended to use a dedicated user that has no other role on the host 245It is recommended to use a dedicated user that has no other role on the host
246than running authorized keys commands. 246than running authorized keys commands.
247If no user is specified then 247If
248.Cm AuthorizedKeysCommand 248.Cm AuthorizedKeysCommand
249is ignored. 249is specified but
250.Cm AuthorizedKeysCommandUser
251is not, then
252.Xr sshd 8
253will refuse to start.
250.It Cm AuthorizedKeysFile 254.It Cm AuthorizedKeysFile
251Specifies the file that contains the public keys that can be used 255Specifies the file that contains the public keys that can be used
252for user authentication. 256for user authentication.