February 2020
Intermediate to advanced
666 pages
15h 45m
English
On the server side, you can use the Match User or Match Group directive to set up custom configurations for certain users or groups. To see how it's done, look at the example at the very bottom of the /etc/ssh/sshd_config file. There, you'll see the following:
# Match User anoncvs# X11Forwarding no# AllowTcpForwarding no# PermitTTY no# ForceCommand cvs server
Of course, this has no effect since it's commented out, but that's okay. Here's what we see for user anoncvs: