i changed default SSH port with ssh in /etc/ssh/sshd_config and set it to 2211. now i can connect to server with ssh and new port, but in FileZilla when i try to connect to server with this new port (2211) for send some files to server, it generates an error :

Error:  Cannot establish FTP connection to an SFTP server. Please select proper protocol.
Error:  Critical error: Could not connect to server

what's the problem? and how can i solve it? tanx.

closed as off-topic by Khaled, mdpc, kasperd, Jenny D, MadHatter Mar 20 '17 at 21:18

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.


It seems that filezilla is trying to connect using FTP protocol via SSH port. You can force it to switch to SFTP protocl by specifying the hostname like:


Not the answer you're looking for? Browse other questions tagged or ask your own question.