troubleshooting Question

Allow some users from certain IP access to openssh on AIX.

Avatar of CSIA AN
CSIA ANFlag for Andorra asked on
Unix OSLinuxSSH / Telnet Software
5 Comments2 Solutions296 ViewsLast Modified:
Hi,

We want to allow access to OPenssh to user1, user2 and user3 but ONLY from these IPs:

user1@IP1
user2@IP1
user3@IP2

So access from user1@*, user2@*, user3@*  (any other IP) must be denied.

And all other users/groups can access the system via SSH.

Which do you think is thepossible  combination of:

AllowUsers
AllowGroups
DenyUsers
DenyGroups

inside /etc/ssh/sshd_config file?

Thanks.
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 2 Answers and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros