Rsync command
# Rsync-Av -- Progress/mnt/yidong2/full20100526.tar.gz/mnt/yidong1/
[The above command] the local machine with a progress bar prompt copy can be achieved, different machines with a progress bar prompt copy, you can copy multiple files
One, the Linux system SSH service1. What is SSH?SSH is secure shell protocol shorthand, SSH is to the online packet through encryption before transmission, to ensure data security. SSH is a security protocol that is specifically provided for Telnet
Use the key file. This assumes that host a (192.168.100.3) is used to obtain a file for Host B (192.168.100.4). Execute the following command on host A to generate the pairing key: ssh-keygen-t RSA encounters a prompt to enter by default, and the
How do I copy a file under two Linux system servers? Always use this named SCP (security copy).Do not know the reason for this command, and then do a summary:We all know that CP command is used as CP [source file address (i.e. to copy file location)]
SCP commands are primarily used for the transfer of files between two servers.1. Download files from the serverSCP [Email Protected]:/path/filename/tmp/local_destinationFor example, SCP [email protected]:/home/kimi/test.txt to download the/home/kimi/
Command format: SCP [parameter] [original path] [Target path]Example 1: Copying files from a distance to a local directorySCP [email protected]:/opt/soft/nginx-0.5.38.tar.gz/opt/soft/Example 2: Replicating a directory from a distance to a localScp-r
The SCP is secure copy, a command that is used to remotely copy files under Linux.Sometimes we need to get a file on a remote server that does not have an FTP server configured, or shared, and cannot get the files by conventional means, but only
First, copy the native files to the remote server#scp/home/administrator/news.txt [email protected]:/etc/squid/home/administrator/absolute path to local filesNews.txt The local file to be copied to the serverRoot logs on to the remote server through
1. Download files from the serverSCP [Email Protected]:/path/filename/local/pathFor example: SCP [email protected]:/ygf/data/data.txt/desktop/ygf to download/ygf/data/data.txt files on 117.50.20.56 to/desktop/ In the YGF directory2. Uploading local
FTP command:
The server has an FTP server installed, and another Linux can use the FTP client program to copy read and download files.
1. Connecting to an FTP serverFormat: FTP [hostname| ip-address]A) on the Linux command line, enter: FTP 192.168.26
Command: SCP
There are 3 common ways to copy files between different Linux types:
The first is FTP, which is one of the Linux installation FTP Server, this can be another use of FTP client program for file copy.
The second approach is to use the
For some reason, need to change a VPS, so need to transfer files for the server. But when I was in the original server to pack the things, the problem comes, the package is not half, the hint server space is insufficient! This last time because the
The Ubuntu default does not have SSH service installed, which can be done with the following command:
Copy Code code as follows:
yblin@yblin-desktop:~$ ssh localhost
Ssh:connect to host localhost Port 22:connection refused
Uploading local files to the serverscp/path/filename [Email protected]:/path/For example scp/var/www/test.php [email protected]:/var/www/the test.php file in the native/var/www/directory to 192.168.0.101 directory on this server.Downloading files
Common commands for transferring files between Linux servers using the scpscp command: 1. download the directory on the server to the specified directory on the currently logged-on server: scp-P port number-r user name @ server IP:/directory name
Software (package) installation/uninstallationYum-y Install package name (Support *): automatic selection of y, automaticYum Install package name (support *): Manually select Y or nYum Remove package name (not supported *)RPM-IVH Package Name
There are three common methods to copy files between different Linux systems. The first method is ftp, that is, installing the ftp Server on one of the Linux systems, in this way, another ftp client program can be used to copy files. The second
With two machines, both LAN, two machines can communicate with each other without problems, the middle of no firewall. The two machine IPs are: a:192.168.1.240 b:192.168.1.102 assume that the ssh of a b machine allows root login to upload a/root/abc.
The SCP is a shorthand for secure copy, which is used to copy files from a remote machine under Linux.Characteristics:The transmission is encrypted and slightly affects the speed. Compared with rsync, it has an advantage over resource
In general, the copy command prompts us to enter the username and password for the remote server, which is an obstacle in automating the program because there is no manual intervention. About the server between the exchange of the password does not
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.