• 欢迎访问金笔头博客,这是一个菜鸟(伪)程序员的自留地,欢迎访问我的github:点击进入

Backtrack开启SSH端口远程登录控制

Linux eason 1629次浏览 0个评论 扫描二维码

代码配置如下:

root@bt:~# sshd-generate
Generating public/privatersa1 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:
ef:ed:0e:80:54:96:3b:f2:d5:03:1d:e4:f4:19:cc:5e root@bt
The key's randomart image is:
+--[RSA1 2048]----+
|        o. o++.  |
|       o. .o..ooE|
|      .  . o..o. |
|     ...o . o .  |
|      .oSo   .   |
|        .o       |
|          o      |
|         . o     |
|          .o+    |
+-----------------+
Generating public/privatersa key pair.
Your identification has been saved in/etc/ssh
Your public key has been saved in/etc/ssh/ssh
The key fingerprint is:
f2:bf:ff:bd:e3:17:9d:6e:8c:cb:26:2b:d9:c9:d0:4
The key's randomart image is:
+--[ RSA 2048]----+
|                 |
|                 |
|                 |
|                 |
|      . S .     o|
|       o . E   o.|
|        . * o + .|
|         + *.o *.|
|          ++=+=o=|
+-----------------+
Generating public/privatedsa key pair.
Your identification has been saved in/etc/ssh
Your public key has been saved in/etc/ssh/ssh
The key fingerprint is:
2c:d3:ae:29:45:6a:c3:d9:83:97:2f:9e:b3:ae:44:9
The key's randomart image is:
+--[ DSA 1024]----+
|                 |
|     .           |
|    E            |
|     ..o         |
|   ..*o.S        |
|   .B *+         |
|   ..+ o.        |
|   .. o+.        |
|    .=B+         |
+-----------------+
root@bt:~# /etc/init.d/ssh start
 * Starting OpenBSD Secure Shell server sshd    


金笔头博客, 版权所有丨如未注明 , 均为原创, 转载请注明Backtrack开启SSH端口远程登录控制
喜欢 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址