• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved no root login ssh

FelixHohl

New Pleskian
Server operating system version
ubuntu 20.04
Plesk version and microupdate number
18.0.56
Hi together,

suddenly i can no longer log on to my server via ssh with the root user.
I can get into plesk with the root user and pw without any problems.

anyone have an idea what the problem could be?

Thanks in advance
 
Maybe your IP Adrees is jailed at fail2ban? Restart rooter to get a new IP or unjail in plesk beackend.
 
Where in plesk?

Tools & Settings > IP Address Banning (Fail2Ban) > Banned IP Addresses

And also check if your ssh Server allows root logins with a password - the default is "no"

Code:
cat /etc/ssh/sshd_config | grep PermitRootLogin

should be "PermitRootLogin yes" and not "PermitRootLogin prohibit-password"
Change it and do not forget to restart the ssh Server:

service sshd restart
 
Back
Top