Information Security Stack Exchange is a question and answer site for information security professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What are the basic differences and security implications of using SFTP, FTPS and SecureFTP.

share|improve this question
To the best of my knowledge, vsFTPd is an FTP program. SFTP is a protocol. Not really apples-apples comparison... Or did you mean, the differences between the differnt protocols: SFTP/FTPS/SecureFTP? – AviD Nov 29 '10 at 5:51
I suppose, he thought SFTP and FTPS. – anonymous Nov 29 '10 at 12:44
AviD / AMS thanks for helping me clarify the question. I will edit it now and resubmit. – Eric Warriner Nov 29 '10 at 13:04
up vote 24 down vote accepted

There are 3 different protocols commonly used for transfering files over the Internet, and they are commonly confused between.

  • FTPS - an extension to the FTP protocol to support using FTP over SSL/TLS. This is typically based on a client-requested negotiation, and there are specific FTP commands to request/enforce/implement the encryption using SSL.
  • FTP over SSH (commonly called SecureFTP) - tunneling standard FTP over a SSH connection. Take into account that it is a bit more complicated to force the data channels to continue tunneling over SSH, even if the control channel is tunnelled.
  • SFTP - This is a completely different protocol, SSH File Transfer Protocol. This is not related to FTP, but is a completely different protocol. SFTP is actually a sub-protocol from the SSH protocol suite, i.e. a SSH extension (however I understand that it can be used seperately, too).

Advantage of FTPS is that it is similar to HTTPS - same type of certificate, etc. Many webservers support FTPS natively, and thus it is often "simpler" to set up and have admins up to speed faster.
SFTP has advantage in *nix shops, that are typically already more SSH-friendly - if they already set up a public SSH server securely, its pretty simple to add SFTP functionality.
Note that SecureFTP (FTP over SSH) is NOT trivial in any case (even if you already have the SSH set up), and I haven't seen it in use by security-conscious orgs (that's not to say it CAN'T be, but isn't commonly).

share|improve this answer
I guess differentiating sftp from scp would be of some use, but it might clutter things. And the non-trivial aspects of the extension and its own security issues. – hpavc Nov 29 '10 at 19:58
@hpavc, as far as I know SCP is pretty much a historical protocol, out of which grew SFTP (kind of like SSL -> TLS). Or am I wrong about that one? – AviD Nov 29 '10 at 20:02
@AviD, in a nutshell, SFTP is the elaborated version of SCP. It comes with more features, the tradeoff being it is slower than SCP at copying files. See… – ack__ Mar 3 '14 at 18:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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