From 2bca8a43e7dd9b04d7070824ffebb823c72587b2 Mon Sep 17 00:00:00 2001 From: "djm@openbsd.org" Date: Fri, 11 Sep 2015 03:13:36 +0000 Subject: [PATCH] upstream commit more clarity on what AuthorizedKeysFile=none does; based on diff by Thiebaud Weksteen Upstream-ID: 78ab87f069080f0cc3bc353bb04eddd9e8ad3704 --- sshd.8 | 6 +++--- sshd_config.5 | 7 +++++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/sshd.8 b/sshd.8 index 213b5fc43..3b20d9f32 100644 --- a/sshd.8 +++ b/sshd.8 @@ -33,8 +33,8 @@ .\" (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.8,v 1.280 2015/07/03 03:49:45 djm Exp $ -.Dd $Mdocdate: July 3 2015 $ +.\" $OpenBSD: sshd.8,v 1.281 2015/09/11 03:13:36 djm Exp $ +.Dd $Mdocdate: September 11 2015 $ .Dt SSHD 8 .Os .Sh NAME @@ -470,7 +470,7 @@ does not exist either, xauth is used to add the cookie. .Cm AuthorizedKeysFile specifies the files containing public keys for public key authentication; -if none is specified, the default is +if this option is not specified, the default is .Pa ~/.ssh/authorized_keys and .Pa ~/.ssh/authorized_keys2 . diff --git a/sshd_config.5 b/sshd_config.5 index b18d340af..cd3b5cfe3 100644 --- a/sshd_config.5 +++ b/sshd_config.5 @@ -33,8 +33,8 @@ .\" (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.211 2015/08/14 15:32:41 jmc Exp $ -.Dd $Mdocdate: August 14 2015 $ +.\" $OpenBSD: sshd_config.5,v 1.212 2015/09/11 03:13:36 djm Exp $ +.Dd $Mdocdate: September 11 2015 $ .Dt SSHD_CONFIG 5 .Os .Sh NAME @@ -285,6 +285,9 @@ After expansion, is taken to be an absolute path or one relative to the user's home directory. Multiple files may be listed, separated by whitespace. +Alternately this option may be set to +.Dq none +to skip checking for user keys in files. The default is .Dq .ssh/authorized_keys .ssh/authorized_keys2 . .It Cm AuthorizedPrincipalsCommand