Linux SFTP Command Detailed

Source: Internet
Author: User
Tags file transfer protocol

SFTP is the abbreviation for Secure File Transfer protocol, security File Transfer Protocol. You can provide a secure network encryption method for transferring files. SFTP has almost the same syntax and functionality as FTP. SFTP is part of SSH and is a secure way to transfer files to the Blogger server. In fact, in the SSH package, a secure file information transmission subsystem called SFTP (secure files Transfer Protocol) has been included, and SFTP itself does not have a separate daemon. It must use the sshd daemon (the port number default is 22) to complete the corresponding connection and reply operations, so in a sense, sftp is not like a server program, but more like a client program. SFTP is also used to transmit authentication information and transmitted data using encryption, so it is very safe to use SFTP. However, because this transmission uses the encryption/decryption technology, the transfer efficiency is much lower than the normal FTP, and if you have higher network security requirements, you can use SFTP instead of FTP.

Common Command Parameters
usage:sftp [ -1CV] [-B buffer_size] [-B batchfile] [-F Ssh_config]            [-O ssh_option] [-P Sftp_server_path] [-R Num_reque STS]            [-S program] [-S subsystem | sftp_server] Host       sftp [[email protected]]host[:file ...]       sftp [[Email protected]]host[:d ir[/]]       sftp-b batchfile [email protected]]host
Common Command Display

Download/Upload files remotely

# Connect remote server sftp [email protected]# view current server path lpwd# view remote server path [Default User home directory]pwd# upload file put current path  remote connection # download file get remote path  current path

Linux SFTP Command Detailed

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.