Operating System - HP-UX
1752788 Members
6021 Online
108789 Solutions
New Discussion

allowusers in sshd_config

 
shabbu
New Member

allowusers in sshd_config

Hi

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@192.1.1.1 in sshd_config file???

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

1 REPLY 1
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

Thanks,
Johnson
Problems are common to all, but attitude makes the difference