securing ssh logins
Hi all,
we have a public server and it can be accessed from any where through ssh. My question is my server should not allow anyone directly to login as root user. First he should login as normal user then he should switch to root user. is it possible.if possible how to achieve this.suggestions please. I also have another questions is there any specific linux command is there to end other users ssh session without rebooting the server. Thanks®ards, Dinesh. |
Hi,
Quote:
Code:
PermitRootLogin no You can do something like Code:
ps aux | grep ssh Code:
kill <pid> Evo2. |
Hi,
Thank you very much, it works. |
All times are GMT -5. The time now is 06:56 PM. |