backtrack4(bt4)开启ssh服务

来源:互联网 发布:如何让网络稳定 编辑:程序博客网 时间:2024/05/01 17:16

 

root@bt:/etc/ssh# sshd-generate
Generating public/private rsa1 key pair.
/etc/ssh/ssh_host_key already exists.
Overwrite (y/n)? y
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:
31:ce:fd:3f:a9:5e:f5:b0:c0:88:99:3c:a7:06:31:5c root@bt
The key's randomart image is:
+--[RSA1 2048]----+
|        E        |
|     . .         |
|      + o        |
|       * B o     |
|      . S + o . .|
|       . + . . +.|
|        o   . o..|
|       .     oo |
|           .o... |
+-----------------+
Generating public/private rsa key pair.
/etc/ssh/ssh_host_rsa_key already exists.
Overwrite (y/n)? y
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:
b4:09:bd:9d:1c:20:8e:45:f1:25:32:cb:69:95:fe:2e root@bt
The key's randomart image is:
+--[ RSA 2048]----+
|     .B.+..      |
|     = X.+       |
|    . B.+ .      |
|     . o.* o     |
|        S.+      |
|          .      |
|         .       |
|        E .      |
|         .       |
+-----------------+
Generating public/private dsa key pair.
/etc/ssh/ssh_host_dsa_key already exists.
Overwrite (y/n)? y
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:
c8:8e:b6:24:c3:a1:e2:65:fa:b0:c4:45:27:ba:ef:c6 root@bt
The key's randomart image is:
+--[ DSA 1024]----+
|                 |
|                 |
|   o .           |
| o o. .         |
| ... o S        |
|.oo. o           |
|o==o+ .          |
|+ BE .           |
| +++.            |
+-----------------+
root@bt:/etc/ssh# /etc/init.d/ssh start
* Starting OpenBSD Secure Shell server sshd                             [ OK ]

 

客户端用 SSH SECURE FILE TRANSFER CLIENT

用户名:root

密码:toor

原创粉丝点击