The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'General Discussion' started by Gurpreet Singh, Dec 28, 2015.

  1. Gurpreet Singh

    Gurpreet Singh Registered

    Joined:
    Dec 28, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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 :)
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    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.
     
    Gurpreet Singh likes this.
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
    Gurpreet Singh likes this.
  4. Gurpreet Singh

    Gurpreet Singh Registered

    Joined:
    Dec 28, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Thanks everyone,
    Issue has been resolved with DC's help.

    Regards,
    Gurpreet Singh
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page