sftp upload code example Example: sftp terminal upload file inline sftp {user}@{host}:{remote_dir} <<< $'put {local_file_path}'