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

How to use SCP to transfer Linux files to each other

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article mainly shows you "how to use SCP to achieve Linux file transfer", the content is easy to understand, clear, hope to help you solve your doubts, the following let Xiaobian lead you to study and learn "how to use SCP to achieve Linux file transfer" this article.

Recently, I have to do the P2V operation of the linux host (physical host to virtual machine). I don't know if there is a problem with my operation or the installation of Linux or the Convert of Vmware. Anyway, I am not allowed to complete this conversion, so I have no choice but to deploy it myself, but there is about 40G of data on the real host to migrate to the virtual machine. Google found a very good and powerful command SCP based on SSH.

SCP (secure copy) is a cross-host copy tool under Linux. It is easy to use, and the transmitted data is also encrypted by SSH, which is very secure, and the speed of direct connection to each other is also quite fast, and the syntax is very simple. For example, if you want to copy the kaisir.tar.gz file under B / etc to / home of A machine on SSH, you only need to enter:

Scp root@A:/etc/kaisir.tar.gz / home

In this way, the copy can be completed quickly and safely, but there is also a flaw, that is, there is no way to complete the transfer operation that does not require user participation like FTP's FXP.

The above is all the contents of the article "how to use SCP to transfer Linux files to each other". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

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