Skip to content
Anh's Blog

Anh's Blog

  • Home
  • Archives
Posted on April 7, 2013June 4, 2018 by Anh

How to enable SSH for Root under CentOS

Edit file /etc/ssh/sshd_config:

vi /etc/ssh/sshd_config

vi /etc/ssh/sshd_config

Uncomment this line:

PermitRootLogin yes

PermitRootLogin yes

Restart SSH server:

service sshd restart

service sshd restart

You might also like the following…
How to allow Root Login under Ubuntu

TagsCentOS, Linux, SSH

Post navigation

Previous PostPrevious Useful yum commands
Next PostNext How to host your code with Bitbucket

About Me

I like open source and enjoy learning new technologies. I will be posting technical how-to's, tips and tricks on Linux, database, web, and Android. This is mostly for my own personal references, but I hope it might be useful for others.
  • Facebook
  • LinkedIn