Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is "SFTP" and "FTP over SSL" a same thing? [closed]

Tags:

ssl

sftp

ftp

ftps

I need to write a program to send some files to an SFTP server. I googled, but found there is similar thing called "FTP over SSL".

Are they the same?

like image 699
Freewind Avatar asked Dec 22 '11 05:12

Freewind


People also ask

Is FTP over SSL same as SFTP?

In fact SFTP is an abbreviation of “SSH File Transfer Protocol”. This is not FTP over SSL and not FTP over SSH (which is also technically possible, but very rare). SFTP is a binary protocol, the latest version of which is standardized in RFC 4253.

Is SFTP just FTP over SSH?

SFTP stands for SSH File Transfer Protocol. SSH is an encrypted and secure communication protocol, and it provides an extension to transfer files. In fact, SFTP is completely different from FTP. It still does essentially the same job, but securely, and with better compatibility and formality than FTP.

Does SFTP use an SSL certificate?

As it uses SSL, it requires a certificate. SFTP (SSH File Transfer Protocol/Secure File Transfer Protocol) was designed as an extension of SSH to provide file transfer capability, so it usually uses only the SSH port for both data and control.

Can you have FTP and SFTP on the same server?

Yes, it can. These are two different services. The only limitation is that the different services can't use the same port. The default FTP port is 21 , while the SFTP connection goes through the SSH port (connection), that by default is 22 .


1 Answers

Wikipedia explains the differences: http://en.wikipedia.org/wiki/FTPS

FTPS (also known as FTP Secure and FTP-SSL) is an extension to the commonly used File Transfer Protocol (FTP) that adds support for the Transport Layer Security (TLS) and the Secure Sockets Layer (SSL) cryptographic protocols.

FTPS should not be confused with the SSH File Transfer Protocol (SFTP), an incompatible secure file transfer subsystem for the Secure Shell (SSH) protocol. It is also different from Secure FTP, the practice of tunneling FTP through an SSH connection.

like image 86
Tim M. Avatar answered Oct 18 '22 03:10

Tim M.