Use ftp tool error: Received unexpected end-of-file from SFTP server
Solution is as follows:
1, vi to edit / etc / ssh / sshd_config
sudo nano /etc/ssh/sshd_config
2, find the following line of code (you can use:? Find)
Subsystem sftp /usr/lib/openssh/sftp-server
Alternatively
the Subsystem SFTP Internal-SFTP
. 3, restart the sshd
-Service the restart the sshd