Skip to main content

Cannot connect with Filezilla or PuTTy

Comments

6 comments

  • cPanelMichael
    Hello, Please review the following threads and let us know if they help address the issue with FileZilla: I cannot log into FileZilla Regarding SSH, could you try using a SSH client other than Putty to rule it out as the cause of the issue? Thank you.
    0
  • psytanium
    In Filezilla, I changed the logon type from Normal to File, Username remain root and pointed the ppk key file already generated from "Manage root's SSH Keys". Same results:
    Status: Waiting to retry... Status: Connecting to server.example.com... Response: fzSftp started, protocol_version=8 Command: keyfile "C:\Program Files\PuTTY\insight_key.ppk" Command: open "root@server.example.com" 22 Error: Disconnected: No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic) Error: Could not connect to server
    Regarding PuTTY, I tried SupperPuTTY and MobaXterm, same error message:
    Disconnected: No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic)
    0
  • cPanelMichael
    Hello, 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
  • psytanium
    Big thanks to cPanel team, this is the resume from the support ticket GoDaddy server and GoDaddy does not allow direct root logins to SSH on their VPSes, if you run the autofixer script (safesshrestart), this restarts SSHd into a configuration which doesn't have this restriction, thus direct root logins will succeed. However, toggling the password authentication option in WHM will restart SSHd back into the "normal" configuration where once again root logins are disabled. There's two ways to address this: 1. You can edit the SSHd configuration file to allow root logins all the time. This option is not recommended, as it increases the server's vulnerability which is why GoDaddy doesn't allow it by default. 2. You can either add a brand new user to the server and add them to the wheel group, or you can take an already existing account (one of your own) and add it to the wheel group. Once this is done, you can log into SSH using this user's name and password, then you can use 'su' or 'sudo' and escalate to root from there if root access is needed.
    0
  • cPanelMichael
    I'm happy to see a viable solution was found. Thank you for updating us with the outcome.
    0
  • aadii786
    Just add a User in Wheel group on that you want to run su command.
    0

Please sign in to leave a comment.