Get the App
SLTechnology News&Howtos  ›  Servers  › 

An interactive file transfer program using linux's sftp command

Shulou Source: shulou.com Published: 2022-06-02 20:09:06 09月22日 Update

Editor to share with you the use of linux's sftp command interactive file transfer program, I hope you will learn a lot after reading this article, let's discuss it together!

The full name of sftp command is Secure File Transfer Protocol. Is an interactive file transfer program, the sftp command runs and uses similar to the ftp command, but the sftp command uses ssh encryption for all transmitted information, and it also supports functions such as public key authentication and compression.

Syntax format: sftp [parameters] [IP or hostname]

Commonly used parameters: coach

-B specifies the size of the buffer when transferring files-l specifies batch files using ssh protocol version 1 Murb-C uses compression-o to specify ssh option-F specifies ssh configuration file-R specifies how many requests can be tolerated at a time-v increases log level

Reference example

Use the sftp command to link to the server:

[root@linuxcool ~] # sftp 192.168.20.29

Specifies that the transfer file is the buffer size:

[root@linuxcool] # sftp-B 512 192.168.20.29

Use compression during transmission:

[root@linuxcool] # sftp-C 192.168.20.29 after reading this article, I believe you have some understanding of the interactive file transfer program using linux's sftp command. You want to know more about it. Welcome to follow the industry information channel. Thank you for reading!

Tags: Command file transfer interactive program parameter size article buffer buffer similarity host information full name public key function done instance common method Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info vpn MariaDB MySQL OPPO Reno