Install scp commands and troubleshoot CentOS errors

Source: Internet
Author: User
Tags scp command
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: Nopackagescpavailable. later I found that scp should belong to the openssh-clients package. run: yuminstallopenss CentOS to install the scp command and solve the problem. in the test, files must be transferred between two virtual machines, the first thought is the scp command. The result is:-bash: scp: command not found. you can 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. run: yum install openssh-clients and then run scp. , Run again: scp 1.so root@192.168.0.182:/root/enter the password again prompt: bash: scp: command not found in the target host also install openssh-clients, try again, solve the problem.


Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.