Ubuntu server doesn't handle SFTP/SCP connection

1

I've installed FTP on Ubuntu 14.04 server and I tried to connect to it via FileZilla. It works if I use FTP. But if I try to connect via SFTP, there are no folders or files shown, and I get the error:

Error:  Received unexpected end-of-file from SFTP server
Error:  Could not connect to server

I tried with WinSCP and it attempted to connect, but it just closed the program and opened the connection options dialog up again. How do I get secure file transfer working?

lenart95

Posted 2016-04-13T10:19:53.303

Reputation: 13

Answers

2

File Transfer Protocol (FTP) and Secure File Transfer Protocol (SFTP) are different protocols. If you want to connect to the system via SFTP, also, you will need to install SSH server software on the Ubuntu system. Also, in case you aren't aware, SFTP and FTPS, which provides encryption capabilities for the FTP protocol, are also different protocols. WinSCP supports SFTP and FTPS and you will need to select the appropriate protocol for a session in the "file protocol" field prior to attempting a connection depending on which protocol you wish to use to connect.

moonpoint

Posted 2016-04-13T10:19:53.303

Reputation: 4 432