vsftpd problem

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

Guess you like

Origin www.cnblogs.com/UG9527/p/11223558.html