CentOS Install the SCP command package openssh-clients

Source: Internet
Author: User
Tags scp command

Today, the newly installed machine uses the SCP command, the result hints:
-bash:scp:command not found
Take it for granted with the Yum Install SCP command, the result is:
No Package SCP available.
Solve:
Packages provided by the above must not be called SCP
In general, the server has SCP, you can find a previous SCP machine to see which package this command is provided by
[email protected] ~]# which SCP
/usr/bin/scp
[Email protected] ~]# RPM-QF/USR/BIN/SCP
Openssh-clients-5.3p1-94.el6.x86_64
So the SCP this thing should belong to openssh-clients this package, run:
Yum Install Openssh-clients-y
Run the SCP again and run it again:
If you enter a password and then prompt again:
Bash:scp:command not found
The target host will be installed, if it's not installed.
Also install openssh-clients on the target host, problem solving

This article is from the "Boyhack" blog, make sure to keep this source http://461205160.blog.51cto.com/274918/1739349

CentOS Install the SCP command package openssh-clients

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.