Linux - CentOS 7 - Enable Root Login via SSH STnetwork 2020-09-07 centos, linux, root, vi IntroductionBy default, the login root via SSH is disabled, follow the instruction to allow it. Edit /etc/ssh/sshd_config1vi /etc/ssh/sshd_config Uncomment the line : 1PermitRootLogin yes Press Echap then type :wq & Press Enter To finish : 1systemctl restart sshd