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.