Skip to main content

SSH incorrect password?

Comments

2 comments

  • cPanelLauren
    Hi @Steven Lukas Are you using the cPanel user to try and access SSH or are you using root w/the root password?
    SSH Password Authorization Tweak is enabled, we've tried disabling it (it gave a permission denied error when trying to connect over SSH) and then re-enabling it, no changes.

    This being enabled is probably good at this specific point as it being enabled means you can access the server using the password.
    Anyone have an idea what to look for (relevant logs?)? It gives no error response of any kind, just keeps prompting for the password.

    If this is a cPanel user you're attempting to access the server with and you have access with the root user it makes things a bit easier to troubleshoot /var/log/messages
    could give you some indication of what's occurring but it may be best to look in the following: 1. /etc/ssh/sshd_config
    check for any modifications/customizations 2 /etc/sudoers
    for wheel users the following should be uncommented and appear as follows: %wheel ALL=(ALL) ALL
    More information on wheel users can be found in the documentation here: Manage Wheel Group Users - Version 78 Documentation - cPanel Documentation
    0
  • Steven Lukas
    Hi, thanks for your reply and sorry for the late response. I have no root / cpanel-user ssh-access on the server, both give the same problem that the password would be incorrect (yet the credentials DO work to get into whm / cpanel). Luckily I have direct keyboard access (and thus root) to the server. I checked the Log, and it told me all I needed to know "Brute force detection active: 580 Login Denied -- Excessive Failures -- Ip Temp Banned" Apparantly, the first few attempts to login where actually incorrect. By the time we tried to login as root, we were already blocked ofcourse ... Whitelisted in CPHulk (should have been my first guess) and all is well again. Thanks for getting us in the right direction
    0

Please sign in to leave a comment.