1748157 Members
3963 Online
108758 Solutions
New Discussion юеВ

Re: 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 2
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.