Control user access to SSH

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

Related posts

RSS feed for comments on this post · TrackBack URL

Leave a Comment

Creative Commons Attribution-ShareAlike 2.0 UK: England & Wales
Creative Commons Attribution-ShareAlike 2.0 UK: England & Wales