解决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

posted on 2013-11-29 23:13  寻步  阅读(248)  评论(0编辑  收藏  举报