zoukankan      html  css  js  c++  java
  • 解决BT5不能使用putty连接问题

    root@bt:~# cd /etc/ssh
    root@bt:/etc/ssh# sshd-generate
    Generating public/private rsa1 key pair.
    Your identification has been saved in /etc/ssh/ssh_host_key.
    Your public key has been saved in /etc/ssh/ssh_host_key.pub.
    The key fingerprint is:
    fb:10:bb:82:1d:4e:5d:63:50:49:01:f5:70:f1:ad:80 root@bt
    The key's randomart image is:
    +--[RSA1 2048]----+
    |        .=*oo.   |
    |        . .= . . |
    |         .E o . .|
    |          +  . . |
    |       .So .  .  |
    |      o .+       |
    |     = .+        |
    |    . +  +       |
    |       .. .      |
    +-----------------+
    Generating public/private rsa key pair.
    Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
    Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.
    The key fingerprint is:
    82:9b:d5:14:d8:ae:1d:f5:11:b0:71:16:8d:9b:6b:1e root@bt
    The key's randomart image is:
    +--[ RSA 2048]----+
    |       o. o.==   |
    |      . ...=o .  |
    |       ..... +   |
    |     . oo   +    |
    |    . ooS.   .   |
    |     +...   E    |
    |    o      o .   |
    |            .    |
    |                 |
    +-----------------+
    Generating public/private dsa key pair.
    Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
    Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
    The key fingerprint is:
    3b:ab:8b:98:00:07:e3:b1:43:ac:eb:7f:4d:0e:51:73 root@bt
    The key's randomart image is:
    +--[ DSA 1024]----+
    |                 |
    |.      o E       |
    |o+    . o        |
    |+oo  .           |
    |o+.   . S        |
    |.o.  . . .       |
    |o     = o        |
    |.. o o o o       |
    | .+.o oo.        |
    +-----------------+
    root@bt:/etc/ssh# /etc/init.d/ssh start
    Rather than invoking init scripts through /etc/init.d, use the service(8)
    utility, e.g. service ssh start

    Since the script you are attempting to invoke has been converted to an
    Upstart job, you may also use the start(8) utility, e.g. start ssh
    ssh start/running, process 6267

  • 相关阅读:
    UML基础—结构和组成
    Hadoop完全分布式
    Hadoop完全分布式
    查看端口是否启用
    查看端口是否启用
    hadoop namenode启动失败
    hadoop namenode启动失败
    Hadoop2.7.5伪分布式安装
    Hadoop2.7.5伪分布式安装
    给用户添加sudo权限
  • 原文地址:https://www.cnblogs.com/xunbu7/p/3450447.html
Copyright © 2011-2022 走看看