Article 5SFD3 disabling root login over ssh not working

disabling root login over ssh not working

by
arashmov
from LinuxQuestions.org on (#5SFD3)
hi

I disabled root login over ssh by editing "sshd_config" and changing "PermitRootLogin yes" to "PermitRootLogin no" and then restarted sshd.
But when I tried to log into root to test it I could still log in to root.
I even rebooted the server and it didn't work.
I'm so confused, please help me.
and im using cenos7latest?d=yIl2AUoC8zA latest?i=8OZSCyjOVWM:NCHfLeAlWJg:F7zBnMy latest?i=8OZSCyjOVWM:NCHfLeAlWJg:V_sGLiP latest?d=qj6IDK7rITs latest?i=8OZSCyjOVWM:NCHfLeAlWJg:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments