HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Showing results for 
Search instead for 
Did you mean: 

allowusers in sshd_config

Occasional Visitor

allowusers in sshd_config


can the HOST in USER@HOST in allowusers can be something like example.com

ie can we specify
allowusers user@example.com or else we need to specify only like allowusers user@ in sshd_config file???

if not can i know the reason for this.
I am using openSSH 3-8

Johnson Punniyalingam
Honored Contributor

Re: allowusers in sshd_config

All you do is add one of the following to your sshd_config file:

AllowGroups adm
AllowUsers damian

The first one will allow the anyone that is in the adm group to login
The seoned one only allows damian to login

type the following at root to see more options

man sshd_config

Problems are common to all, but attitude makes the difference