What a pros and cons of FTP vs SSH for file transfers?

SSH is much more tolerant of network security devices like firewalls and things that do NAT. FTP is famously tricky to firewall, and generally requires one end-point to have a real IP addresss (i.e. no NAT).

SSH is better at handling NAT. In fact, both ends can be behind NAT which is generally not possible without a lot of crowbar with FTP.

FTP is generally faster because of the dead simple nature of the protocol, though the right versions of SFTP can approach that level of speed.

FTP support is built into most modern browsers, where none I know of have SSH. There may be plugins that shim this, though.

SSH is vastly more secure, which allows user authentication. FTP supports that but does so over plain text in the clear, a fact that contradicts most sane security policies.


The only reason to use FTP is for public-file sharing. Things like linux kernel source repositories.

Leave a Comment