unexpected end-of-file from SFTP server

Discussion in 'Installation/Configuration' started by Benoit, Jun 9, 2019.

  1. Benoit

    Benoit New Member

    Hi All

    this is my first question here but I've been so many times helped by answers I found in this forum over the years.
    I searched and did not found a solution for this one.

    I use ISPConfig version is 3.1.13p1 on Debian 9. New installation.
    Since 4 days my I can't access my server with ftp. "530 Login Authentication failed". Every domains and users. A few hours before everything was working fine. I did not found anything suspicious in the logs but I can't say I'm an expert.

    So, after trying many things in vain, I decided to remove all the ftp users from ISPconfig panel, then apt-get remove --purge pure-ftpd to clean.
    Then I installed it back. Created a new user in ISPconfig.
    Same problem.

    So I decided to try to connect with SFTP instead.

    I would like to be able to connect with each webX users.

    In /etc/ssh/sshd_config I added web17 for example.
    When I try to log in with filezilla - I log in " Connected to ...." - then I have an error message:
    "unexpected end-of-file from SFTP server"

    Where did I made something wrong?
    Thanks,
    Benoit
     
  2. Benoit

    Benoit New Member

    I found the solution:
    in /etc/ssh/sshd_config
    I commented this line
    # Subsystem sftp /usr/lib/openssh/sftp-server
    and add this one below
    Subsystem sftp internal-sftp

    Benoit
     
    till and Jesse Norell like this.

Share This Page