sshd.conf User Restriction

Hi I'm using a SSH Daemon.
I want to configure (e.g. in the systemwide config file) my sshd
to allow user access only to certain named users - not groups not domains.
How can I do this ?
Didn' find any actual help, hints or examples of a suitable conf file on the web - maybe some expert can help ?.
I apreciate...mfuerlinger.
LVL 1
mfuerlingerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

bcwhiteCommented:
I think the option you're looking for is "AllowUsers".  It's at least in SSH v1.2.26.

       AllowUsers
              This  keyword can be followed by any number of user
              name patterns or user@host patterns,  separated  by
              spaces. Host name may be either the dns name or the
              ip address. If specified, login is allowed only  as
              users  whose  name matches one of the patterns. ´*´
              and ´?´ can be used as wildcards in  the  patterns.
              By default, logins as all users are allowed.

              Note  that the all other login authentication steps
              must still be  sucessfully  completed.   AllowUsers
              and DenyUsers are additional restrictions.

-- Brian
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mfuerlingerAuthor Commented:
thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.