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
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.
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
The SCP is a shorthand for secure copy, a command for remotely copying files under Linux, and a similar command with CP, but the CP is only copied natively, not across the server, and the SCP transfer is encrypted. may have a slight effect on the
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
In the past has been on the server tar packaging compression, download to the local computer, and then upload to another server, and then unzip.In fact, you can use the SCP command directly to copy files or folders.The SCP is secure copy, which is
Reason: The company is based on the key login, although there are firewalls and other devices, and does not allow root direct login and do not allow password login. Because the company's network is not good, there is a need to copy one time 2
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 and cannot cross the server, and the SCP transfer is encrypted. may
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
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.