Page 1 of 1

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

Posted: 2019/06/17 02:58:55
by NickMcAlpin
I was wondering if it were possible to force all FTP connections to use SFTP. Sounds like it would be much more secure. Thanks!

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

Posted: 2019/06/17 04:21:37
by avij
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.

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

Posted: 2019/06/17 05:56:41
by NickMcAlpin
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