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.
Hours:
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
cancel
Showing results for 
Search instead for 
Did you mean: 

SSH remote access

 
admin1979
Super Advisor

SSH remote access


Hello,

We wish to setup logins in such a way that all local users should ssh to the Linux host system with their userid/password and then su to work account.
For this we need to deny ssh login access to work account so that no user directly ssh logs into it.
How do we achieve this?

Thanx,
admin
2 REPLIES
Goran Koruga
Honored Contributor

Re: SSH remote access

Hello.

man sshd_config, read about AllowGroups, AllowUsers, DenyGroups and DenyUsers.

Regards,
Goran
admin1979
Super Advisor

Re: SSH remote access


Thanx. It works.