[原创]centos系统没法使用scp命令解决办法 – 21运维
通知: .-...

[原创]centos系统没法使用scp命令解决办法

linux 21运维 5883浏览 0评论

 前几天新装了一个centos 6.5 ,发现scp没法使用。当前服务器需要从其他服务器拷贝一些脚本,习惯使用scp命令,没法就用了wget下载。不过问题还是要解决,于是当时尝试使用:
yum install scp -y 
安装,结果提示如下报错无法安装:

[root@21yunwei ~]# yum -y install scp
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.btte.net
* extras: mirrors.pubyun.com
* rpmforge: mirrors.neusoft.edu.cn
* updates: mirrors.pubyun.com
Setting up Install Process
No package scp available.
Error: Nothing to do

于是网上搜索资料,原来scp属于openssh-clients这个包,于是安装:
yum install openssh-clients -y
执行完毕以后,问题搞定,scp可以用了。

转载请注明:21运维 » [原创]centos系统没法使用scp命令解决办法

发表我的评论
取消评论
表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址