Linux ssh allow
I want something like the root user is unable to the system, rather one should login as a normal user and then su - to become root. how can i do that.
|
Put
Code:
PermitRootLogin no |
To be more specific, sshd_config is normally located at /etc/ssh/sshd_config (do not confuse with ssh_config).
You can further specify which users you want to allow through ssh. Just add a line like this in sshd_config: Code:
AllowUsers user1 user2 |
All times are GMT -5. The time now is 09:57 AM. |