To solve the problem of installing scp command and error in CentOS, you need to transfer files between two virtual machines in the test. The first thought is the scp command. The result is:-bash: scp: commandnotfound is automatically installed using the yuminstallscp command. The result is: Nopackagescp... to solve the problem of installing scp command and error in CentOS, you need to transfer files between two virtual machines in the test. The first thought is the scp command. The result is:-bash: scp: command not found is automatically installed using the yum install scp command. The result is: No package scp available. later found that scp this thing should belong to the openssh-clients package, run: yum install openssh-clients and then run scp can be again run: scp 1.so root@192.168.0.182: /root/enter the password and prompt again: bash : Scp: command not found install openssh-clients on the target host, and try again to solve the problem.
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.