SFTP (Secure File Transfer Program) is an interactive file transfer program, similar to ftp, which performs all operations over an encrypted SSH transport. It uses many features of SSH, such as public key authentication and compression.
On the majority of Gentoo mediums sftp should be already installed. To verify installation run the sftp command. A usage statement should appear:
usage: sftp [-1246aCfpqrv] [-B buffer_size] [-b batchfile] [-c cipher] [-D sftp_server_path] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-R num_requests] [-S program] [-s subsystem | sftp_server] host sftp [user@]host[:file ...] sftp [user@]host[:dir[/]] sftp -b batchfile [user@]host
If no usage statement is displayed then sftp is not installed or has been corrupted. Follow the installation instructions beginning at the USE flag section in the SSH article.
- SSH — an encrypted terminal program that replaces the classic telnet tool on Unix-like operating systems.
- SCP — an interactive file transfer program, similar to the copy command, that copies files over an encrypted SSH transport.
- CurlFtpFS — allows for mounting an FTP folder as a regular directory to the local directory tree.
- The official sftp man page locally via man sftp or online at openbsd.org
- Gentoo Forums :: View topic - (SOLVED) sftp autocompletion, Welcome – Gentoo Linux, October 15th, 2015. Retrieved on October 15th, 2015.