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
Linux scp to copy files, do not need to enter a password, linuxscp
Scp is short for securecopy. It is used to remotely copy files in Linux. Similar Commands include cp, but cp only Copies files on the local machine and cannot be copied across
Under Linux general use SCP This command to transfer files via SSH.First, what is SCP?The SCP is a shorthand for secure copy, a command for remotely copying files under Linux, and a similar command with CP, although the CP is only copied natively
Recently requested by the company, the need for remote transmission and backup of file data, wrote an article on the SSH, SCP and rsync application configuration of the whole process, may be too wordy, but mainly to want to do not miss each process
Use of SCP
Replicate from local to remoteCommand basic format:SCP [Optional parameters] Local filename remote user name @ Remote address: Remote file or directory
Copy file Example:
Scp/home/backup.zip
From: http://www.blogjava.net/Unmi/archive/2006/01/03/124033.html
Currently, when installing Linux, we usually consider that the security (by default) does not enable the telnet service, while the SSH service does. ant has long supported Telnet,
1. scp: the scp command is the most convenient and useful command in SSH. scp is securecopy, which is used to copy remote files. Data transmission uses ssh and uses the same authentication method as ssh to provide the same security guarantee. Unlike
In Linux, copy files remotely using scp-Linux Enterprise Application-Linux server application information. The following is a detailed description. Use "scp" to copy an object
SSH provides instructions and shell for logging on to the remote server.
scp-p202 xx3.x6.xx.xx:/usr/local/zookeeper-3.4. 6. Zip/tmp # Specify the port of the remote server and the destination file for the remote server, and finally specify the local directory to download toYou can also download the entire directory from
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.