Linux DB PHP Scripts Tech Diary
Search This Blog
Friday, March 25, 2011
Disabling root SSH logins.
CentOS:
1,
Edit the /etc/ssh/sshd_config file and set the PermitRootLogin parameter to no.
[root@sor ~]# vim /etc/ssh/sshd_config
PermitRootLogin no
2, restart ssh deamon
[root@sor ~]# /etc/init.d/sshd restart
Newer Posts
Older Posts
Home
Subscribe to:
Comments (Atom)