Control Web Panel
WebPanel => CentOS-WebPanel Bugs => Topic started by: Wonder on July 28, 2026, 11:33:49 AM
-
Hello,
I have experienced exactly the same issue on two completely different CWP servers.
Environment:
- CWP on AlmaLinux 8
- Two independent VPSs
- Different providers
- Root SSH on custom port (62424)
On both servers, after a recent CWP update, SSH public key authentication stopped working.
After investigating, I found that the entire directory:
/root/.ssh
had disappeared.
Not only authorized_keys, but the complete .ssh directory was gone.
I had to recreate:
- /root/.ssh
- authorized_keys
- permissions (700/600)
After restoring them, SSH key authentication immediately started working again.
On one of the servers, CWP also stopped starting because the following file was missing:
/etc/pki/tls/certs/hostname.crt
The other files still existed:
- hostname.cert
- hostname.bundle
- hostname.key
Creating the missing symbolic link:
hostname.crt -> hostname.cert
made cwpsrv start again.
I don't know whether both issues are related, but the disappearance of /root/.ssh happened on two different CWP servers, which makes me suspect it could be related to a recent update.
There are no custom maintenance scripts on either server that modify /root/.ssh or SSL certificates.
Has anyone else experienced the complete disappearance of /root/.ssh after a recent CWP update?
Thanks.