Got a shiny new Linux box on your network but don’t want all your users connecting to it via SSH? Control access by editing the SSH configuration file and using the AllowUsers directive like so:

AllowUsers joeuser

To add multiple entries, either separate users with a space, or write an entirely new line:

AllowUsers joeuser philwiffen
AllowUsers joeuser
AllowUsers philwiffen

Written by Phil Wiffen

Phil is an IT Professional working in Cambridge, England. He generally blogs about useful solutions that he comes across in his work/play.

Leave a Reply

Your email address will not be published. Required fields are marked *