In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the use of the sftp command in Linux, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
Linux common command sftp command is an interactive file transfer program, the operation and use of the command is 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.
Sftp interactive file transfer program
Syntax sftp (options) (parameters) option-B: specify the size of the buffer when transferring files;-l: use ssh protocol version 1;-b: specify batch files;-C: use compression;-o: specify ssh options;-F: specify ssh configuration files;-R: specify how many requests can be tolerated at a time;-v: raise the log level. Parameter target host: specify the sftp server ip address or hostname.
Instance to establish a connection
$sfpt username@1.1.1.1 # enter the password to download the file to the specified path
Sftp > get / export/sftp/test.csv / Users/my/Downloads Fetching / export/sftp/test.csv to / Users/my/Downloads/test.csv / export/sftp/test.csv 100% 133 0.3KB/s 00:00 upload local files to the server specified path
Sftp > put / Users/my/Downloads/re-produce.gif / export/sftp Uploading / Users/my/Downloads/re-produce.gif to / export/sftp/re-produce.gif / Users/my/Downloads/re-produce.gif 00:02 Thank you for reading this article carefully. I hope the article "what is the use of sftp commands in Linux" shared by the editor will be helpful to you, and I also hope you will support it. Pay attention to the industry information channel, more related knowledge is waiting for you to learn!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.