Hildor

Registered
Mar 16, 2016
3
0
51
Curitiba - PR - Brasil
cPanel Access Level
Root Administrator
Hello everyone,
I have a very strange problem.
I can not access via SSH. But WHM and FTP login works fine.
I can login to the WHM usually with root. But with the same password I can not access the SSH.
The last time I had to access a month ago was working perfectly.

Already ran the script http://xxxxxxx.com:2086/scripts2/doautofixer?autofix=safesshrestart
When you restart the SSH it displays me:

------------------------------------
Waiting for "sshd" to restart ......... waiting for "sshd" to initialize ......... finished.

Service Status
sshd (sshd: unknown [priv]) is running the root with PID 2921 (systemd check method).
sshd (sshd: unknown [net]) is running the sshd with PID 2922 (systemd check method).
sshd (sshd: unknown [priv]) is running the root with PID 2943 (systemd check method).
sshd (sshd: unknown [net]) is running the sshd with PID 2944 (systemd check method).
sshd (/ usr / sbin / sshd D) is running the root with PID 2969 (systemd check method).

Startup Log
Mar 16 12:56:11 server.xxxxx.com.br systemd [1]: Started OpenSSH server daemon.
Mar 16 12:56:11 server.xxxxx.com.br systemd [1]: Starting OpenSSH server daemon ...
Mar 16 12:56:11 server.xxxxx.com.br sshd [2969]: Server listening on port 22 0.0.0.0.
Mar 16 12:56:11 server.xxxxx.com.br sshd [2969]: Server listening on :: port 22.
-----------------

Already I deactivated the cPHulk'm not installed CSF.
When I log in it always refuses to password.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,883
2,256
463
I access in recovery mode the server and check the sshd_config file, PermitRootLogin Yes is active.
Do you notice any specific messages in /var/log/secure in recovery mode that could help determine why your access is denied?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,883
2,256
463
I am happy to see the issue is now resolved. Thank you for updating us with the outcome.