What is this OpenSSH ELevate project error? Print

  • elevate, centos, upgrade error, warning, ssh, openssh, redhat, almalinux, elevate project
  • 90

You may see this error on a cPanel CentOS server being upgraded to AlmaLinux 8 with the ELavate project:

[ERROR] OpenSSH configuration file does not explicitly state the option PermitRootLogin in sshd_config file, which will default in RHEL8 to "prohibit-password".
Please set the 'PermitRootLogin' value in /etc/ssh/sshd_config before upgrading.

The fix is easy though. Just run this code:

echo PermitRootLogin yes | sudo tee -a /etc/ssh/sshd_config


Was this answer helpful?

« Back