I'm trying to apply the same
sshd settings to multiple users.
According to the manual, it seems
Match User acts like an
Introduces a conditional block. If all of the criteria on the
Matchline are satisfied, the keywords on the following lines override those set in the global section of the config file
How do I state "for any of these users...", so in this example
phil are allowed to use SSH as a proxy, but not allowed to log in:
Match User bob, User joe, User phil PasswordAuthentication yes AllowTCPForwarding yes ForceCommand /bin/echo 'We talked about this guys. No SSH for you!'