Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

An interactive file transfer program using linux's sftp command

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report