[Solved] Cannot Establish FTP connection to SFTP in FileZilla

  • 5,000
  • Tác giả: admin
  • Ngày đăng:
  • Lượt xem: 5
  • Tình trạng: Còn hàng

The other day I had đồ sộ connect đồ sộ my trang web server. I use FileZilla for connecting đồ sộ FTP servers. FileZilla is a không tính tiền and open source GUI software that allows you đồ sộ connect đồ sộ an FTP server in Linux.

When I entered the hostname and password and tried đồ sộ connect đồ sộ the FTP server, it gave bầm the following error:

Error: Cannot establish FTP connection đồ sộ an SFTP server. Please select proper protocol.
Error: Critical error: Could not connect đồ sộ server

The error looks lượt thích this in the FileZilla interface.

FileZilla Cannot establish FTP connection đồ sộ an SFTP server

Let bầm tell you why you see this error and what you can tự đồ sộ 'fix' it.

Fixing ‘Critical error: Could not connect đồ sộ server’ in Linux

By reading the error message itself made bầm realize my mistake. I was trying đồ sộ establish an FTP connection with an SFTP server.

You see, I had SFTP setup on the Linux server. Clearly, I was not using the correct protocol which should have been SFTP and not FTP.

As you can see in the picture above, FileZilla defaults đồ sộ the FTP protocol.

Solution for “Cannot establish FTP connection đồ sộ an SFTP server”

The solution is simple. Use SFTP protocol instead of FTP.

The one problem you might face is knowing how đồ sộ change the protocol đồ sộ SFTP. This is where I am going đồ sộ help you.

In the FileZilla thực đơn, go đồ sộ File->Site Manager.

FileZilla Site Manager

In the Site Manager, go in General tab and select SFTP in Protocol. Also fill in the host server, port number, user password etc.

Cannot establish FTP connection đồ sộ an SFTP server

I hope you can handle things from here onward.

FileZilla is an excellent GUI tool for SFTP browsing. This tutorial will help you learn the basics of FileZilla.

Using FileZilla for Connecting đồ sộ SFTP Server Via GUIIf you ask the geeky sysadmins, they will swear by rsync or scp commands for transferring files between remote server and local system. However, those are command line methods and not everyone feels comfortable. Thankfully, there are some GUI tools available that let you transfer files to…It's FOSSPratham Patel

I hope this quick tutorial helped you đồ sộ fix “Cannot establish FTP connection đồ sộ an SFTP server. Please select proper protocol.” problem.

If you have questions or suggestions, tự let bầm know. If this article helped you fix the problem, I won’t mind a simple ‘thanks’ comment :)

About the author

Abhishek Prakash

Created It's FOSS 11 years ago đồ sộ share my Linux adventures. Have a Master's degree in Engineering and years of IT industry experience. Huge người yêu thích of Agatha Christie detective mysteries 🕵️‍♂️