mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
upstream: auth2-pubkey r1.89 changed the order of operations to
checking AuthorizedKeysFile first and falling back to AuthorizedKeysCommand if no key was found in a file. Document this order here; bz3134 OpenBSD-Commit-ID: afce0872cbfcfc1d4910ad7722e50f792a1dce12
This commit is contained in:
parent
f96f17f920
commit
44ae009a01
@ -33,7 +33,7 @@
|
|||||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" $OpenBSD: sshd_config.5,v 1.309 2020/04/17 03:30:05 djm Exp $
|
.\" $OpenBSD: sshd_config.5,v 1.310 2020/04/17 04:27:03 djm Exp $
|
||||||
.Dd $Mdocdate: April 17 2020 $
|
.Dd $Mdocdate: April 17 2020 $
|
||||||
.Dt SSHD_CONFIG 5
|
.Dt SSHD_CONFIG 5
|
||||||
.Os
|
.Os
|
||||||
@ -247,12 +247,10 @@ more lines of authorized_keys output (see
|
|||||||
.Sx AUTHORIZED_KEYS
|
.Sx AUTHORIZED_KEYS
|
||||||
in
|
in
|
||||||
.Xr sshd 8 ) .
|
.Xr sshd 8 ) .
|
||||||
If a key supplied by
|
|
||||||
.Cm AuthorizedKeysCommand
|
.Cm AuthorizedKeysCommand
|
||||||
does not successfully authenticate
|
is tried after the usual
|
||||||
and authorize the user then public key authentication continues using the usual
|
|
||||||
.Cm AuthorizedKeysFile
|
.Cm AuthorizedKeysFile
|
||||||
files.
|
files and will not be executed if a matching key is found there.
|
||||||
By default, no
|
By default, no
|
||||||
.Cm AuthorizedKeysCommand
|
.Cm AuthorizedKeysCommand
|
||||||
is run.
|
is run.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user