Hacker News new | ask | show | jobs
by LinAGKar 1103 days ago
SSH is just the transport, you use a different protocol inside it. But yeah, it's not FTP
1 comments

The only difference is the security transport / authentication, otherwise if functions the exact same way.

The original RFC for SFTP was written to actually be a simpler version of FTP. While v3 seems to be the standard and the final RFC was never ratified, SFTP is still FTP.

Are you perhaps referring to FTPS, which is FTP with SSL/TLS added? SFTP is very, very different from FTP.

Note that SFTP is not a protocol for security transport / authentication. It doesn't do that. It assumes that you've already secured/authorized the channel with SSH. See section 1 of the RFC.

https://datatracker.ietf.org/doc/html/draft-ietf-secsh-filex...

https://en.wikipedia.org/wiki/FTPS

https://en.wikipedia.org/wiki/SSH_File_Transfer_Protocol

Please link to that RFC then.

They are very different. SFTP isn't even textual, nor does it have separate control and data channels of FTP.

Are these exactly the same?:

https://www.ietf.org/rfc/rfc959.txt

https://datatracker.ietf.org/doc/html/draft-moonesamy-secsh-...