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