The scp command is a file transfer command in Linux. Its usage details the system home Linux scp command usage summary, but in the CentOS system operation, sometimes it will be unusable. In this case, How to solve it? The following small series will introduce you to the solution that CentOS can't use the scp command.
Solution
need to transfer files between two virtual machines in the test, the first thought is scp command, the results suggest that:
-bash: Scp: command not found
Of course, use the yum install scp command to install, the result prompts:
No package scp available.
Later found that scp should belong to openssh-clients Package, run:
yum install openssh-clients
Run spp again, run again:
scp 1.so [email protected]:/root/
After entering the password, please prompt again:
bash: scp: command not found
Also install openssh-clients on the target host, try again, and solve the problem.
The above is the introduction of the solution that CentOS can't use the scp command. The reason why you can't use it is to use the yum install scp command. You should run sum install openssh-clients and then run scp.
ssh is the systems secure shell protocol. Several versions have been developed. Do
Recently, in the operation of CentOS system, when downloading files using wget, the
System virus in addition to browsing the web, the U disk is also the source of the virus, if you fin
in different situations in Linux system When performing Linux system operation, if there is a situa
How to mount/uninstall USB devices using commands under Linux
HP notebook Debian compiler sound card driver method
How to set up a Linux system under a RAID array
What should I do when I prompt Unencrypted connection when Oracle Linux 5 remote telnet?
Linux geeks need to master the collection of skills
How to deal with the database disappeared after modifying the root password of mysql under Linux?
How to solve the problem of forgetting the root password under Linux?
Linux System Process Management Introduction
Ubuntu/Mint can't add a solution for PPA source
Introduction to multi-threaded shell scripts in Linux system
Win10 can't log in to Microsoft account prompt 0X800b0109 error solution
Win10 PC version of "Movies and TV" was updated, optimized mouse and keyboard operation
What if win7 Ultimate 64-bit system can't enter safe mode?
Win10 upgrade 9879 failed error code solving tutorial
Bringing the Win8 system back to life Recovering, reinstalling and restoring the
Can Win10 take all the equipment?
What is the update of win10 preview version 10064?
Uninstallation method for optional optional management management entry in Win10 system
Express new usage: use FlashGet to achieve off-site download
Using the find command in Linux to find files How to ignore certain directories