Seeking help to get login through ftp, ssh via "root"

Gurpreet Singh

Registered
Dec 28, 2015
2
0
1
India
cPanel Access Level
Root Administrator
Hello,
(Formal Introduction ) I am new here, and using Cpanel from past 7 years. Now I am moving to manage own server, since earlier it was done by server owners and alarmed me to secure my business data :).

I am getting issue that I am not able to login through SFTP via user "root" also same issue in SSH login. I had installed CSF to add firewall. I guess this issue had occurred after installing CSF ( I am not sure ). With datacenter guidelines I had changed password many times and tried to login, but it always failed.

I am getting " Couldnot Connect server" or after green "*" of login user and pass its shows " Critical Error , login failed "

Please help me to fix this issue :)
 

24x7server

Well-Known Member
Apr 17, 2013
1,896
91
78
India
cPanel Access Level
Root Administrator
Hello,

I think you are facing this issues due to firewall OR cphulk databases. Please contact your DC and ask them to add your ISP IP in server firewall and cphulk databases OR ask them to disabled these modules on your server. Once you login your server add your IP's in allow list and enable firewall and cphulk.

If you have KVM access then you can update it through KVM console.
 
  • Like
Reactions: Gurpreet Singh

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,912
2,241
363
Hello :)

You may want to try running a temporary instance of SSH to see if it allows you to access your server to investigate:

Code:
https://IP:2087/cpsess12345678/scripts2/doautofixer?autofix=safesshrestart
You would replace "IP" with the server's IP address and the session number with what's displayed in your address bar. Note that this is simply a temporary instance of SSH (normally defaults to port 23) so you can login and determine what's wrong with the standard SSH service. Then, use the following guide to update your SSH configuration:

SSH Hardening Guide

Thank you.
 
  • Like
Reactions: Gurpreet Singh

cPanelMichael

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