In the first win by centos ftp connection process, there have been two problems, now this record it be convenient later encountered problems Read
1, due to the different encryption protocols, the client needs to set about ftp, ssh mode support, particularly self Baidu;
2, after setting up the protocol, returns CentOS Received unexpected end-of-file from SFTP server, solution is as follows:
First, enter: vi / etc / ssh / sshd_config
The Subsystem sftp / usr / libexec / openssh / sftp-server
instead Subsystem sftp internal-sftp
final restart services, completed
systemctl restart sshd.service
Then go connection is successful