Categories
Linux Mastering Development

After Match Group block, in ForceCommand can I somehow refer to the username (etc.) in a generic fashion?

Suppose I am using Match Group and inside of that block I am using ForceCommand is there a way to refer to the name of the connecting user or the user’s home folder in a similar fashion AuthorizedKeysFile can use the tokens %h, %U, and %u? Alternatively does ForceCommand get the contents of these tokens […]