summaryrefslogtreecommitdiff
path: root/sshd_config.5
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2018-06-01 03:33:53 +0000
committerDamien Miller <djm@mindrot.org>2018-06-01 13:35:59 +1000
commit9c935dd9bf05628826ad2495d3e8bdf3d3271c21 (patch)
tree35ccf63e51d3daf2fa927b843d813295e41e96e6 /sshd_config.5
parentd8748b91d1d6c108c0c260ed41fa55f37b9ef34b (diff)
upstream: make UID available as a %-expansion everywhere that the
username is available currently. In the client this is via %i, in the server %U (since %i was already used in the client in some places for this, but used for something different in the server); bz#2870, ok dtucker@ OpenBSD-Commit-ID: c7e912b0213713316cb55db194b3a6415b3d4b95
Diffstat (limited to 'sshd_config.5')
-rw-r--r--sshd_config.516
1 files changed, 9 insertions, 7 deletions
diff --git a/sshd_config.5 b/sshd_config.5
index 95dbc1d12..1d6e0d1e4 100644
--- a/sshd_config.5
+++ b/sshd_config.5
@@ -33,8 +33,8 @@
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.266 2018/05/15 05:40:11 jmc Exp $ 36.\" $OpenBSD: sshd_config.5,v 1.267 2018/06/01 03:33:53 djm Exp $
37.Dd $Mdocdate: May 15 2018 $ 37.Dd $Mdocdate: June 1 2018 $
38.Dt SSHD_CONFIG 5 38.Dt SSHD_CONFIG 5
39.Os 39.Os
40.Sh NAME 40.Sh NAME
@@ -1689,24 +1689,26 @@ The serial number of the certificate.
1689The type of the CA key. 1689The type of the CA key.
1690.It %t 1690.It %t
1691The key or certificate type. 1691The key or certificate type.
1692.It %U
1693The numeric user-id id of the target user.
1692.It %u 1694.It %u
1693The username. 1695The username.
1694.El 1696.El
1695.Pp 1697.Pp
1696.Cm AuthorizedKeysCommand 1698.Cm AuthorizedKeysCommand
1697accepts the tokens %%, %f, %h, %k, %t, and %u. 1699accepts the tokens %%, %f, %h, %k, %t, %U and %u.
1698.Pp 1700.Pp
1699.Cm AuthorizedKeysFile 1701.Cm AuthorizedKeysFile
1700accepts the tokens %%, %h, and %u. 1702accepts the tokens %%, %h, %U and %u.
1701.Pp 1703.Pp
1702.Cm AuthorizedPrincipalsCommand 1704.Cm AuthorizedPrincipalsCommand
1703accepts the tokens %%, %F, %f, %h, %i, %K, %k, %s, %T, %t, and %u. 1705accepts the tokens %%, %F, %f, %h, %i, %K, %k, %s, %T, %t, %U and %u.
1704.Pp 1706.Pp
1705.Cm AuthorizedPrincipalsFile 1707.Cm AuthorizedPrincipalsFile
1706accepts the tokens %%, %h, and %u. 1708accepts the tokens %%, %h, and %U %u.
1707.Pp 1709.Pp
1708.Cm ChrootDirectory 1710.Cm ChrootDirectory
1709accepts the tokens %%, %h, and %u. 1711accepts the tokens %%, %h, and %U %u.
1710.Pp 1712.Pp
1711.Cm RoutingDomain 1713.Cm RoutingDomain
1712accepts the token %D. 1714accepts the token %D.