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 download files to the local linux server

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

1. Use the scp command

Scp / home/work/source.txt work@192.168.0.10:/home/work/ # copy the local source.txt file to the / home/work directory on the 192.168.0.10 machine scp work@192.168.0.10:/home/work/source.txt / home/work/ # copy the source.txt file on the 192.168.0.10 machine to the local / home/work directory scp work@192.168 .0.10: / home/work/source.txt work@192.168.0.11:/home/work/ # copy the source.txt file on the 192.168.0.10 machine to the scp-r / home/work/sourcedir work@192.168.0.10:/home/work/ # copy folder under the / home/work directory on the 192.168.0.11 machine Add-r parameter

2. Use the xshell tool

It is very convenient to use xshell to operate the service, and it is also convenient to transfer files.

Is to use rz,sz, first of all, the server should install rz,sz

Yum install lrzsz

Of course, your local windows host also connects to the linux server through ssh.

Running rz will transfer the files of windows to the linux server

Run sz filename, and the file will be downloaded locally to windows

3. Common methods

Install Xshell and Xftp software locally, with shortcuts in xshell software (choose to use Xftp to open the current directory).

These are the details of how to download files from the linux server to the local. for more information, please follow other related articles!

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