Linux under Bash:scp:command not found problem or install SSH packet times wrong requires:libedit.so.0 () (64bit)

Source: Internet
Author: User
Tags scp command


One, using the SCP command to transfer files from the physical host to the CentOS 6.1 virtual machine, the following error is indicated:
Bash:scp:command not found
The SCP command is also missing from the CentOS 6.1 virtual machine view.
The virtual machine was installed by a colleague, and other commands were incomplete, probably not a complete installation, and some packages were missing.

Second, use the following methods to solve:

1. Find the package where SCP is located in a complete CentOS 5.8:
# which SCP
/usr/bin/scp
# RPM-QF/USR/BIN/SCP
Openssh-clients-4.3p2-82.el5

2, found to belong to the Openssh-clients package, insert the CentOS 6.1 system CD-ROM, mount to find openssh-clients, installation prompt:
libedit.so.0 () (64bit) is needed by openssh-clients-5.3p1-52.el6.x86_64

You need to install Libedit First, then install Openssh-clients
# RPM-IVH cdrom/packages/libedit-2.11-4.20080712cvs.1.el6.x86_64.rpm
Warning:cdrom/packages/libedit-2.11-4.20080712cvs.1.el6.x86_64.rpm:header V3 rsa/sha256 Signature, key ID c105b9de: Nokey
Preparing ... ########################################### [100%]
1:libedit ########################################### [100%]
# RPM-IVH cdrom/packages/openssh-clients-5.3p1-52.el6.x86_64.rpm
Warning:cdrom/packages/openssh-clients-5.3p1-52.el6.x86_64.rpm:header V3 rsa/sha1 Signature, key ID C105b9de:nokey
Preparing ... ########################################### [100%]
1:openssh-clients ########################################### [100%]3, can also be installed directly by the following command:
# yum Install openssh-clients

Linux under Bash:scp:command not found problem or install SSH packet times wrong requires:libedit.so.0 () (64bit)

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.