diff options
author | 2014-12-22 08:04:23 +0000 | |
---|---|---|
committer | 2014-12-22 08:04:23 +0000 | |
commit | c8819dc4ecd8f749563f15e0b7a4943a9004a4e4 (patch) | |
tree | afc7024c081ca6a324e0eab0b1f53e217309819b | |
parent | make internal handling of filename arguments of "none" more consistent (diff) | |
download | wireguard-openbsd-c8819dc4ecd8f749563f15e0b7a4943a9004a4e4.tar.xz wireguard-openbsd-c8819dc4ecd8f749563f15e0b7a4943a9004a4e4.zip |
correct description of what will happen when a AuthorizedKeysCommand is
specified but AuthorizedKeysCommandUser is not (sshd will refuse to start)
-rw-r--r-- | usr.bin/ssh/sshd_config.5 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/usr.bin/ssh/sshd_config.5 b/usr.bin/ssh/sshd_config.5 index 98985c0f7f6..8e87e4411d7 100644 --- a/usr.bin/ssh/sshd_config.5 +++ b/usr.bin/ssh/sshd_config.5 @@ -33,7 +33,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $OpenBSD: sshd_config.5,v 1.185 2014/12/22 07:51:30 djm Exp $ +.\" $OpenBSD: sshd_config.5,v 1.186 2014/12/22 08:04:23 djm Exp $ .Dd $Mdocdate: December 22 2014 $ .Dt SSHD_CONFIG 5 .Os @@ -244,9 +244,13 @@ By default, no AuthorizedKeysCommand is run. Specifies the user under whose account the AuthorizedKeysCommand is run. It is recommended to use a dedicated user that has no other role on the host than running authorized keys commands. -If no user is specified then +If .Cm AuthorizedKeysCommand -is ignored. +is specified but +.Cm AuthorizedKeysCommandUser +is not, then +.Xr sshd 8 +will refuse to start. .It Cm AuthorizedKeysFile Specifies the file that contains the public keys that can be used for user authentication. |