Linux cp/scp command + scp command details, cpscp + scp command details
Name: cp
Permission: All Users
Usage:
Cp [options] source dest
Cp [options] source... directory
Note: copy one file to another or copy several files to another directory.
Count
-
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,
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
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 command is the most convenient and useful command in SSH. Just use the SCP command to directly transfer files between two servers. You can
Run as root # SCP servername:/home/FTP/pub/file1. /In this way, the file/home/FTP/pub/file1 on the
When deploying a task, one of the necessary processes is to send some files, such as the installation package, to a large number of servers. Although yuge's script is available, it is a python script written through the ssh and scp functions
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
1. sshpass enables SSH to remember the password for SSH Automatic Login (1) install sshpasssudo apt-Get install sshpass.pdf download sshpass-1.05.tar.gz shell> tar xvf sshpass-1.05.tar.gzshell> Cd sshpass-1.05shell> make & make install (2) test
SCPHelp command: Man SCP SCP function: Download remote files or directories to local, if you want to upload or want to download the directory, the best way is to use tar compression, isThe most sensible choice..Download something from a remote host
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.