Unable to log in via SFTP: Received unexpected end-of-file from SFTP server




  • Avatar
    Robert De Guzman


    I am new in this system, i have created an FTP account, i am using FileZilla to log in but i received this message

    "Received unexpected end-of-file from SFTP server". i am using windows OS.

    I need help for this problem.



  • Avatar
    Bulat Tsydenov

    As I understand, you use Plesk for Windows. The error message "Received unexpected end-of-file from SFTP server" means that SFTP connection could not be established. SFTP is SSH FTP which is used only in Linux systems. Please, configure your filezilla to connect via FTP instead of SFTP.

  • Avatar
    Denis Deleval


    It happens to me too when I create a new FTP account attached to the new space/domain. With Filezilla I've got the error message "Received unexpected end-of-file from SFTP server". With WinScp the error message is "Connection has been unexpecdly closed. Server sent command exit status 1.cannot initialize FTP protocol. Is the host running an SFTP server ?

    BUT the connection works when using the first account automatically created when the new space/domain is created !

    I'm using Plesk Onyx / centOS. And my computer is a pc.


    Please could you help me ?

    Best regards




  • Avatar
    Robert Asilbekov

    @Denis Deleval 

    SFTP connection is only possible for subscription system users (the first account created with the subscription). It is expected behavior as it involves SSH subsystem.

  • Avatar
    Unknown User

    I found that if you set the encryption to unsecured, it will work fine.  See image below.

  • Avatar
    Ivan Postnikov

    Hello @Michael,

    This article is devoted to SFTP ("SSH File Transfer Protocol").

    However, you are talking about FTPS. 
    What error is displayed if you use secured FTP mode?

Please sign in to leave a comment.

Have more questions? Submit a request