During the test, files need to be transferred between two virtual machines. The first thought is the scp command, and the result is:-bash: scp: commandnotfound. it is assumed that the yuminstallscp command is used for installation. The result is: Nopackagescpavailable. later I found that scp should belong to the openssh-clients package and run: yuminstallope.
In the test, files must be transferred between two virtual machines. the scp command is first generated, and the result is as follows:
-Bash: scp: command not found
If you use the yum install scp command for installation, the result is:
No package scp available.
Later I found that scp should belong to the openssh-clients package and run:
Yum install openssh-clients
Run scp again. run again:
Scp 1.so root@192.168.0.182:/root/
After entering the password, the system prompts again:
Bash: scp: command not found
Install openssh-clients on the target host, and try again to solve the problem.