centeros 安装 ssh

[root@8084619da7f8 ~]# yum install openssh-clients
Loaded plugins: fastestmirror, ovl
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
base                                                    | 3.6 kB     00:00     
extras                                                  | 3.4 kB     00:00     
updates                                                 | 3.4 kB     00:00     
(1/4): extras/7/x86_64/primary_db                         | 139 kB   00:00     
(2/4): base/7/x86_64/group_gz                             | 155 kB   00:02     
(3/4): base/7/x86_64/primary_db                           | 5.6 MB   00:13     
(4/4): updates/7/x86_64/primary_db                        | 3.9 MB   00:37     
Determining fastest mirrors
 * base: mirrors.btte.net
 * extras: mirrors.btte.net
 * updates: mirrors.tuna.tsinghua.edu.cn
Resolving Dependencies
--> Running transaction check
---> Package openssh-clients.x86_64 0:6.6.1p1-33.el7_3 will be installed
--> Processing Dependency: openssh = 6.6.1p1-33.el7_3 for package: openssh-clients-6.6.1p1-33.el7_3.x86_64
--> Processing Dependency: libedit.so.0()(64bit) for package: openssh-clients-6.6.1p1-33.el7_3.x86_64
--> Running transaction check
---> Package libedit.x86_64 0:3.0-12.20121213cvs.el7 will be installed
---> Package openssh.x86_64 0:6.6.1p1-25.el7_2 will be updated
--> Processing Dependency: openssh = 6.6.1p1-25.el7_2 for package: openssh-server-6.6.1p1-25.el7_2.x86_64
---> Package openssh.x86_64 0:6.6.1p1-33.el7_3 will be an update
--> Running transaction check
---> Package openssh-server.x86_64 0:6.6.1p1-25.el7_2 will be updated
---> Package openssh-server.x86_64 0:6.6.1p1-33.el7_3 will be an update
--> Finished Dependency Resolution


Dependencies Resolved


===============================================================================
 Package             Arch       Version                      Repository   Size
===============================================================================
Installing:
 openssh-clients     x86_64     6.6.1p1-33.el7_3             updates     642 k
Installing for dependencies:
 libedit             x86_64     3.0-12.20121213cvs.el7       base         92 k
Updating for dependencies:
 openssh             x86_64     6.6.1p1-33.el7_3             updates     438 k
 openssh-server      x86_64     6.6.1p1-33.el7_3             updates     440 k


Transaction Summary
===============================================================================
Install  1 Package  (+1 Dependent package)
Upgrade             ( 2 Dependent packages)


Total download size: 1.6 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/4): libedit-3.0-12.20121213cvs.el7.x86_64.rpm          |  92 kB   00:00     
(2/4): openssh-6.6.1p1-33.el7_3.x86_64.rpm                | 438 kB   00:01     
(3/4): openssh-server-6.6.1p1-33.el7_3.x86_64.rpm         | 440 kB   00:02     
(4/4): openssh-clients-6.6.1p1-33.el7_3.x86_64.rpm        | 642 kB   00:03     
-------------------------------------------------------------------------------
Total                                             440 kB/s | 1.6 MB  00:03     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
  Updating   : openssh-6.6.1p1-33.el7_3.x86_64                             1/6 
  Installing : libedit-3.0-12.20121213cvs.el7.x86_64                       2/6 
  Installing : openssh-clients-6.6.1p1-33.el7_3.x86_64                     3/6 
  Updating   : openssh-server-6.6.1p1-33.el7_3.x86_64                      4/6 
  Cleanup    : openssh-server-6.6.1p1-25.el7_2.x86_64                      5/6 
  Cleanup    : openssh-6.6.1p1-25.el7_2.x86_64                             6/6 
  Verifying  : libedit-3.0-12.20121213cvs.el7.x86_64                       1/6 
  Verifying  : openssh-6.6.1p1-33.el7_3.x86_64                             2/6 
  Verifying  : openssh-clients-6.6.1p1-33.el7_3.x86_64                     3/6 
  Verifying  : openssh-server-6.6.1p1-33.el7_3.x86_64                      4/6 
  Verifying  : openssh-6.6.1p1-25.el7_2.x86_64                             5/6 
  Verifying  : openssh-server-6.6.1p1-25.el7_2.x86_64                      6/6 


Installed:
  openssh-clients.x86_64 0:6.6.1p1-33.el7_3                                    


Dependency Installed:
  libedit.x86_64 0:3.0-12.20121213cvs.el7                                      


Dependency Updated:
  openssh.x86_64 0:6.6.1p1-33.el7_3  openssh-server.x86_64 0:6.6.1p1-33.el7_3 


Complete!
[root@8084619da7f8 ~]# scp
usage: scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
           [-l limit] [-o ssh_option] [-P port] [-S program]
           [[user@]host1:]file1 ... [[user@]host2:]file2
[root@8084619da7f8 ~]# uname
Linux
[root@8084619da7f8 ~]# uname -a
Linux 8084619da7f8 3.10.0-327.28.3.el7.x86_64 #1 SMP Thu Aug 18 19:05:49 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
[root@8084619da7f8 ~]# 
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值