If you are getting below error while connecting to plesk SFTP server then you have check this article for more details.
Received unexpected end-of-file from SFTP server
The main reason of this error is incorrect value of Subsystem parameter in SSH configuration.
grep Subsystem...