zoukankan      html  css  js  c++  java
  • linux之ssh远程登陆安装

     1 root@ubuntu:/# sudo apt-get install openssh-server
     2 正在读取软件包列表... 完成
     3 正在分析软件包的依赖关系树       
     4 正在读取状态信息... 完成       
     5 将会安装下列额外的软件包:
     6   openssh-client ssh-import-id
     7 建议安装的软件包:
     8   libpam-ssh keychain monkeysphere openssh-blacklist openssh-blacklist-extra rssh molly-guard
     9 下列【新】软件包将被安装:
    10   openssh-server ssh-import-id
    11 下列软件包将被升级:
    12   openssh-client
    13 升级了 1 个软件包,新安装了 2 个软件包,要卸载 0 个软件包,有 301 个软件包未被升级。
    14 需要下载 1,309 kB 的软件包。
    15 解压缩后会消耗掉 896 kB 的额外空间。
    16 您希望继续执行吗?[Y/n]y
    17 获取:1 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main openssh-client i386 1:5.9p1-5ubuntu1.10 [960 kB]
    18 获取:2 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main openssh-server i386 1:5.9p1-5ubuntu1.10 [343 kB]
    19 获取:3 http://cn.archive.ubuntu.com/ubuntu/ precise/main ssh-import-id all 2.10-0ubuntu1 [6,598 B]
    20 下载 1,309 kB,耗时 2秒 (613 kB/s)  
    21 正在预设定软件包 ...
    22 (正在读取数据库 ... 系统当前共安装有 202821 个文件和目录。)
    23 正预备替换 openssh-client 1:5.9p1-5ubuntu1.4 (使用 .../openssh-client_1%3a5.9p1-5ubuntu1.10_i386.deb) ...
    24 正在解压缩将用于更替的包文件 openssh-client ...
    25 Selecting previously unselected package openssh-server.
    26 正在解压缩 openssh-server (从 .../openssh-server_1%3a5.9p1-5ubuntu1.10_i386.deb) ...
    27 Selecting previously unselected package ssh-import-id.
    28 正在解压缩 ssh-import-id (从 .../ssh-import-id_2.10-0ubuntu1_all.deb) ...
    29 正在处理用于 man-db 的触发器...
    30 正在处理用于 ureadahead 的触发器...
    31 正在处理用于 ufw 的触发器...
    32 正在设置 openssh-client (1:5.9p1-5ubuntu1.10) ...
    33 正在设置 openssh-server (1:5.9p1-5ubuntu1.10) ...
    34 Creating SSH2 RSA key; this may take some time ...
    35 Creating SSH2 DSA key; this may take some time ...
    36 Creating SSH2 ECDSA key; this may take some time ...
    37 ssh start/running, process 5213
    38 正在设置 ssh-import-id (2.10-0ubuntu1) ...
    安装
    1 root@ubuntu:/# sudo ps -e |grep ssh
    2  2380 ?        00:00:02 ssh-agent
    3  5213 ?        00:00:00 sshd
    查看是否运行
  • 相关阅读:
    阿里云-Redis-Help-最佳实战:将MySQL数据迁移到Redis
    阿里云-Redis-实战场景:互联网类应用
    阿里云-Redis-实战场景:电商行业类应用
    术语-计算机-性能:RT
    术语-计算机-性能:并发数
    术语-计算机-性能:TPS
    术语-计算机-性能:QPS
    阿里云-Redis-实战场景:游戏服务类应用
    阿里云-Redis-实战场景:视频直播类应用
    文章-依赖注入:《Inversion of Control Containers and the Dependency Injection pattern》
  • 原文地址:https://www.cnblogs.com/pokerface/p/6517799.html
Copyright © 2011-2022 走看看