Skip to main content

(SFTP/FTP) Cannot connect server

Comments

14 comments

  • SysSachin
    Are you using correct login details ? Also check your server logs files and update here if you are getting any error in logs file.
    0
  • Samet Chan
    Are you using correct login details?

    Yeah, it's same from WHM was works fine login, but not sftp/ssh.
    Also check your server logs files and update here if you are getting any error in logs file.

    Where i find this from WHM?
    0
  • SysSachin
    What is the SSH port of your server ? Might be SSH root login is disabled for your server and due to that you are facing this issues. Please login your server through KVM console and check it.
    0
  • Samet Chan
    What is the SSH port of your server ?

    It's is 22.
    Might be SSH root login is disabled for your server and due to that you are facing this issues.

    Nope, it's is enabled. But i have to login host it's called (TransIP) Control Panel by OpenSSH or PuTTY, i can't find what this about well. Here - Removed. Please attach images to your post - KVM console? What is about?
    0
  • cPanelMichael
    Hello, Please review the document below to ensure you are configuring your SFTP client correctly: How to Configure Your SFTP Client - cPanel Knowledge Base - cPanel Documentation Keep in mind SFTP is essentially FTP over the SSH protocol. FTP is it's own protocol, so the settings you change for FTP won't affect the SFTP service. For instance, if you have password authentication disabled for SSH, it's also disabled for SFTP. Review the /var/log/secure log file when SFTP authentication fails to see if you notice any specific error messages. Thank you.
    0
  • Samet Chan
    Hello, Please review the document below to ensure you are configuring your SFTP client correctly:
    0
  • cPanelMichael
    Hello, What is output to the /var/log/secure log file when SFTP access fails? Thank you.
    0
  • Samet Chan
    Hello, What is output to the /var/log/secure log file when SFTP access fails? Thank you.

    Oh alright, You would to know about? It's fine, i uploaded file here.
    0
  • cPanelMichael
    Hello, I removed the attachment because it includes your server's IP address, however it looks like authentication failed due to a bad username/password. Feel free to open a support ticket using the link in my signature if you'd like us to take a closer look. You can post the ticket number here and we will update this thread with the outcome. Thank you.
    0
  • Samet Chan
    I know much about XenForo signature, thread, etc more :) Thanks for help! I will create support later. You can solved this thread.
    0
  • NixTree
    is cphulkd enabled in your server and may be your ip is having some login restrictions now ?
    0
  • Samet Chan
    is cphulkd enabled in your server and may be your ip is having some login restrictions now ?

    Yeah, i have enabled this from Security Advisor say me. And yes, i did login was works fine, my friend was fixed edited from /etc/ssh/sshd_conf "PermitRootLogin yes" can be access SFTP/SSH now.
    0
  • NixTree
    Glad you got it sorted :)
    0
  • Samet Chan
    Glad you got it sorted :)

    Thank you! I have to disable the root access, My friend just create new one username with SSH and SFTP, my friend and me trying to secure vps server more, will never be hacked against. :)
    0

Please sign in to leave a comment.