Is there a way to force all FTP connections to use SFTP?

Issues related to configuring your network
Post Reply
NickMcAlpin
Posts: 4
Joined: 2019/06/17 02:56:38

Is there a way to force all FTP connections to use SFTP?

Post by NickMcAlpin » 2019/06/17 02:58:55

I was wondering if it were possible to force all FTP connections to use SFTP. Sounds like it would be much more secure. Thanks!

User avatar
avij
Retired Moderator
Posts: 3039
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Is there a way to force all FTP connections to use SFTP?

Post by avij » 2019/06/17 04:21:37

FTP and SFTP are entirely different protocols and they use different TCP ports. If you can access your server via SFTP, the way to disable plain old FTP is to shut down your FTP daemon. SFTP transfers files via SSH.

NickMcAlpin
Posts: 4
Joined: 2019/06/17 02:56:38

Re: Is there a way to force all FTP connections to use SFTP?

Post by NickMcAlpin » 2019/06/17 05:56:41

avij wrote:
2019/06/17 04:21:37
FTP and SFTP are entirely different protocols and they use different TCP ports. If you can access your server via SFTP, the way to disable plain old FTP is to shut down your FTP daemon. SFTP transfers files via SSH.
Thank you! I'm somewhat of a beginner when it comes to these things. It'd be great if there was a general beginner tutorial to help people learn the basics. :D

Post Reply

Return to “CentOS 7 - Networking Support”