scp传输提示bash: scp: command not found
2018-10-26 05:26:52来源:博客园 阅读 ()
其中一端缺少scp相关的包
源
[oracle@rac1 dump_dir]$ scp /mnt/dump_dir/expdp_orders_2tabs2* 192.168.X.247:/home/oracle/dump_dir
oracle@192.168.X.247's password:
bash: scp: command not found
目标
[root@localhost ~]# -bash: scp: command not found
-bash: -bash:: command not found
[root@localhost ~]# yum install openssh-clients
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.cn99.com
* updates: mirrors.aliyun.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package openssh-clients.x86_64 0:5.3p1-123.el6_9 will be installed
--> Processing Dependency: openssh = 5.3p1-123.el6_9 for package: openssh-clients-5.3p1-123.el6_9.x86_64
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: openssh-clients-5.3p1-123.el6_9.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) for package: openssh-clients-5.3p1-123.el6_9.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1)(64bit) for package: openssh-clients-5.3p1-123.el6_9.x86_64
--> Processing Dependency: libedit.so.0()(64bit) for package: openssh-clients-5.3p1-123.el6_9.x86_64
--> Running transaction check
---> Package libedit.x86_64 0:2.11-4.20080712cvs.1.el6 will be installed
---> Package openssh.x86_64 0:5.3p1-70.el6 will be updated
--> Processing Dependency: openssh = 5.3p1-70.el6 for package: openssh-server-5.3p1-70.el6.x86_64
---> Package openssh.x86_64 0:5.3p1-123.el6_9 will be an update
---> Package openssl.x86_64 0:1.0.0-20.el6 will be updated
---> Package openssl.x86_64 0:1.0.1e-57.el6 will be an update
--> Running transaction check
---> Package openssh-server.x86_64 0:5.3p1-70.el6 will be updated
---> Package openssh-server.x86_64 0:5.3p1-123.el6_9 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================================================================================================================================================
Package Arch Version Repository Size
================================================================================================================================================================================================================
Installing:
openssh-clients x86_64 5.3p1-123.el6_9 base 444 k
Installing for dependencies:
libedit x86_64 2.11-4.20080712cvs.1.el6 base 74 k
Updating for dependencies:
openssh x86_64 5.3p1-123.el6_9 base 277 k
openssh-server x86_64 5.3p1-123.el6_9 base 329 k
openssl x86_64 1.0.1e-57.el6 base 1.5 M
Transaction Summary
================================================================================================================================================================================================================
Install 2 Package(s)
Upgrade 3 Package(s)
Total download size: 2.6 M
Is this ok [y/N]: Y
Downloading Packages:
(1/5): libedit-2.11-4.20080712cvs.1.el6.x86_64.rpm | 74 kB 00:00
(2/5): openssh-5.3p1-123.el6_9.x86_64.rpm | 277 kB 00:00
(3/5): openssh-clients-5.3p1-123.el6_9.x86_64.rpm | 444 kB 00:00
(4/5): openssh-server-5.3p1-123.el6_9.x86_64.rpm | 329 kB 00:00
(5/5): openssl-1.0.1e-57.el6.x86_64.rpm | 1.5 MB 00:00
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 363 kB/s | 2.6 MB 00:07
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : openssl-1.0.1e-57.el6.x86_64 1/8
Updating : openssh-5.3p1-123.el6_9.x86_64 2/8
Installing : libedit-2.11-4.20080712cvs.1.el6.x86_64 3/8
Installing : openssh-clients-5.3p1-123.el6_9.x86_64 4/8
Updating : openssh-server-5.3p1-123.el6_9.x86_64 5/8
Cleanup : openssh-server-5.3p1-70.el6.x86_64 6/8
Cleanup : openssh-5.3p1-70.el6.x86_64 7/8
Cleanup : openssl-1.0.0-20.el6.x86_64 8/8
Installed:
openssh-clients.x86_64 0:5.3p1-123.el6_9
Dependency Installed:
libedit.x86_64 0:2.11-4.20080712cvs.1.el6
Dependency Updated:
openssh.x86_64 0:5.3p1-123.el6_9 openssh-server.x86_64 0:5.3p1-123.el6_9 openssl.x86_64 0:1.0.1e-57.el6
Complete!
安装完成之后就OK了!
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
- Linux命令(15)lscpu命令 2020-05-25
- putty、pscp、psftp 使用教程 2020-05-16
- linux 几种传输文件的方式 2020-04-27
- Linux—scp 命令详解(文件传输) 2020-04-20
- VMware10.0中安装CentOS8时提示客户机操作系统已禁用CPU,请 2020-03-10
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash