Skip to main content

Access denied for user 'ssh-user'@'localhost' (using password: NO)

Comments

5 comments

  • cPanelMichael
    Hello :) What PHP handler have you configured in "WHM Home " Service Configuration " Configure PHP and suEXEC"? Are you using Mod_Ruid2? Does this configuration match the other server you referenced? Thank you.
    0
  • kmthayil
    Hello Michael, Thank you for the response. I can confirm that in both the server I have the following setting. Default PHP Version (.php files) 5 PHP 5 Handler dso Apache suEXEC on Apache Ruid2 off One server gives me output Access denied to 'nobody'@'localhost' and in another it gives me the output Access denied to 'ssh-server'@'localhost' NOTE: ssh-user is not the user of the account (domain), but a normal user which I created using `useradd` for doing su - (as direct root access is disabled) Any clue why this is ? Regards, K.
    0
  • cPanelMichael
    Are there any other differences between the servers (e.g. CloudLinux, Apache/PHP versions)? Thank you.
    0
  • kmthayil
    Hello Michael, Both are installed with Apache 2.2.x and PHP 5.3.x. However OS for the working one (which thows as nobody) is CentOS 5.11 and the other (which throws as ssh-user) is CentOS 6.6 Just a quick note. When I access the same script using browser from a CentOS 6.6 / PHP 5.5.x / Apache 2.2.x server, it gave message "Access denied to ''@'localhost'. Which also seemed fine. Regards, K.
    0
  • cPanelMichael
    Feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0

Please sign in to leave a comment.