Bash: SCP: Command not found during SCP
[[Email protected] add_admin] # SCP ocp_admin_privileges.mysql [email protected]:/root
[Email protected]'s password:
Bash: SCP: Command not found
Lost connection
Check whether the OpenSSH-clients software package is installed on the local machine
[[Email protected] add_admin] # rpm-Q openssh-clients
Openssh-clients-5.3p1-94.el6.x86_64
The openssh-clients software package is installed on the local machine.
Check whether the OpenSSH-clients software package exists on another machine.
[[Email protected] ~] # Rpm-Q openssh-clients
If no installation is found, run this command.
[[Email protected] ~] # Yum-y install OpenSSH-clients
Run the command again after installation.
[[Email protected] add_admin] # SCP ocp_admin_privileges.mysql [email protected]:/root
[Email protected]'s password:
Ocp_admin_privileges.mysql 100% 484 0.5kb/s
Problem Solving
This article from the "cloud life" blog, please be sure to keep this source http://ovcer.blog.51cto.com/1145188/1563192
Solve the Bash: SCP: Command not found error reported by SCP