CentOS Install the SCP command package openssh-clients

Source: Internet
Author: User
Tags scp command

Using the SCP command, the results prompt:
-bash:scp:command not found
Take it for granted with the Yum Install SCP command, the result is:

no package SCP available.

fix:
Packages provided by the above must not be called SCP
in general, the server has an SCP, you can find a previous SCP machine to see which package this command is provided with
[[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 is supposed to belong to Openssh-clients. This package, run:

1

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 "ZPP" blog, make sure to keep this source http://1439337369.blog.51cto.com/10270624/1717707

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.