introduced
Linux is a huge and complex system. The OPS or developers who deal with it all day long don't have any problems. Here, I talk about an SCP related to the wonderful problem.First, the problem description
Two centos6.7
In the SCP times Bash:scp:command not found[root@51ou.com add_admin]# SCP Ocp_admin_privileges.mysql root@10.10.1.128:/rootroot@10.10.1.128 ' s Password:Bash:scp:command not foundLost connection
To see if the Openssh-clients package is installed on
What is the security comparison between FTP and SSH?
Ftp:
Http://baike.baidu.com/subview/369/6149695.htmIn the TCP/IP protocol, the FTP standard command TCP port number is 21,port mode with a data port of 20. The task of FTP is to
Original link Address: http://www.binghe.org/2010/03/telnet-ftp-ssh-sftp-scp/"Telnet" is a well-known terminal access Protocol, and traditional Web service programs such as FTP, Pop, and Telnet are inherently insecure because they transmit data,
Scp command syntax in Linux SCP (SecureCopy) the scp command in Linux is used for remote file copying. data transmission uses ssh and uses the same authentication method as ssh, provides the same security assurance. This is a very convenient and
In the past, SCP files were all based on. Ssh.
However, using SCP in the script to copy files between machines becomes a problem.
The first method is CT.
The script is as follows:
#! /Usr/bin/CT-F
Spawn SCP 1 [email
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
When deploying a task, one of the necessary procedures is to send some files, such as installation packages, to a large number of servers. Although there is already a Brother Woo script available: A Python script written by the SSH and SCP features
[Turn]http://www.knktc.com/2011/08/20/linux-shell-expect%e6%89%b9%e9%87%8fscp%e8%84%9a%e6%9c%ac%e5%b7%a5%e5%85%b7/
One of the most recent tasks in preparing a deployment is to send some files, such as installation packages, to a large number of
Simple scp memory method and simple scp memory method
Scp can only send the text view to the remote and copy files from the remote, but it is often used to mix the two functions first, so I have summarized it in plain vernacular and it is very easy
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.