SFTP
SFTP, or the SSH File Transfer Protocol, is a network protocol that provides secure file access, transfer, and management over a secure channel established by the SSH protocol. It is designed to securely replace older file transfer methods such as FTP and FTPS and typically operates over SSH-2 on port 22. All commands and data are transmitted through the SSH connection, offering encryption, integrity, and authenticity.
SFTP runs as a subsystem of SSH. After authentication, the client starts the SFTP subsystem, and the
SFTP is standardized as part of the SSH File Transfer Protocol and is widely implemented. It relies
Common implementations include OpenSSH's sftp and the sftp-server component, PuTTY's pscp/sftp, and GUI clients such as
Compared with FTP and FTPS, SFTP tends to be simpler to firewall and configure because it uses