Skip to main content

pureftpd stopping and re-starting repeatedly

Comments

7 comments

  • StoneyCreeker
    I am using ConfigServer firewall and it is blocking most attempts after 3 failed logins. I get hundreds of emails a day from it showing blocked attempts like this: Time: Mon Mar 21 10:06:58 2016 -0400 IP: 188.163.110.67 (UA/Ukraine/SOL-FTTB.67.110.163.188.sovam.net.ua) Failures: 3 (ftpd) Interval: 3600 seconds Blocked: Permanent Block Log entries: Mar 21 10:06:46 host pure-ftpd: (?@188.163.110.67) [WARNING] Authentication failed for user [support] Mar 21 10:06:51 host pure-ftpd: (?@188.163.110.67) [WARNING] Authentication failed for user [public] Mar 21 10:06:57 host pure-ftpd: (?@188.163.110.67) [WARNING] Authentication failed for user [guest]
    0
  • cPanelMichael
    Hello :) You can try adjusting the following values in "WHM >> Service Configuration >> FTP Server Configuration": Maximum Connections Maximum Connections Per IP Address Increasing the maximum connections value, and decreasing the maximum connections per IP address value, might help address this issue. Thank you.
    0
  • StoneyCreeker
    I tried that but the situation continues. I just set the FTP server selection to none until I can find a better solution somewhere. Brute force, but effective. I will have to manually re-enable it for the daily scheduled client data backups. :( It sure would be great if someone would come up with a way to block entire countries without driving up the inodes on a VPS. Is there a way to enable/disable the FTP server selection with a cron job? Thank you.
    0
  • StoneyCreeker
    Can I ask a stupid question? If I have my client use SFTP to backup their data can I set the FTP server selection to none? I just noticed I can still log into my Root using SmartFTP with SFTP after disabling the FTP server... How can that be? I just haven't run into this before.....
    0
  • cPanelMichael
    If I have my client use SFTP to backup their data can I set the FTP server selection to none?

    Yes, SFTP is a different protocol than FTP, so you can disable FTP and still use SFTP. Keep in mind that SFTP does not support virtual accounts at this time, so you must use the cPanel account username and password for individual account access. It's documented at: How to Configure Your SFTP Client - cPanel Knowledge Base - cPanel Documentation Thank you.
    0
  • StoneyCreeker
    That information was key to solving my problem! I figured out how to access my client's accounts using SFTP with SmartFTP. I looked into my client's B/U software, SyncBack Pro, and it does support SFTP. But it needs a SFTP Private Key and Password, and SFTP Server Public Key. Do you know an easy tutorial on how to set up these keys on my server? Thank You
    0
  • cPanelMichael
    But it needs a SFTP Private Key and Password, and SFTP Server Public Key.

    You can use the same key that's configured for SSH. The "Private Key" section on the following document explains how to set this up: How to Configure Your SFTP Client - cPanel Knowledge Base - cPanel Documentation Note this is for access to the cPanel server via SFTP. If you are attempting to connect to another server via SFTP, then the key must be configured on that remote server. Thank you.
    0

Please sign in to leave a comment.