Results 1 to 2 of 2
i want to setup ssh acess to my redhat box in a way that users who belong to perticular group can ssh to my machine + there are few other ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-10-2012 #1
- Join Date
- Dec 2010
Help with restricting ssh access
- 06-10-2012 #2
You cannot solve this groupwise, only user-by-user.
Common ways of authenticating are public keys and/or passwords.
Passwords can be invalidated, public keys in authorized_keys2 can be deleted.
Use usermod to lock the accounts and set the expiredate to 1.
No way of authentication == no shell access.
Last edited by Irithori; 06-10-2012 at 08:14 PM.You must always face the curtain with a bow.