SFTP (SSH File Transfer Protocol) provides encrypted file transfer capability over SSH (port 22) on Linux servers.
SFTP Interactive Session Commands
# 1. Connect to remote server via SFTP
sftp -P 22 user@remote_host
# 2. Upload local file to remote server
put local_file.tar.gz /var/www/uploads/
# 3. Download remote file to local directory
get /var/log/nginx/access.log ./access.log
# 4. Exit SFTP session
bye
Comments and corrections