Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6910883
  • 博文数量: 3857
  • 博客积分: 6409
  • 博客等级: 准将
  • 技术积分: 15948
  • 用 户 组: 普通用户
  • 注册时间: 2008-09-02 16:48
个人简介

迷彩 潜伏 隐蔽 伪装

文章分类

全部博文(3857)

文章存档

2017年(5)

2016年(63)

2015年(927)

2014年(677)

2013年(807)

2012年(1241)

2011年(67)

2010年(7)

2009年(36)

2008年(28)

分类: 网络与安全

2013-11-20 08:12:57

原文地址:设备开启ssh方式登陆 作者:ylky_2000

一、华为路由器或者交换机

[Huawei]rsa local-key-pair create
The key name will be: Host
The range of public key size is (512 ~ 2048).
NOTES: If the key modulus is greater than 512,
       It will take a few minutes.
Input the bits in the modulus[default = 512]:1024
Generating keys...
...............++++++
..........................................++++++
............................................................++++++++
.....................++++++++

 #
aaa
 authentication-scheme default
 authorization-scheme default
 accounting-scheme default
 domain default
 domain default_admin
 local-user ssh password cipher %$%$U}"a.Msd&&nGejLf;PW*/wO:%$%$
 local-user ssh privilege level 3
 local-user ssh service-type ssh
 local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
 local-user admin service-type http
#
#
 stelnet server enable
#
user-interface con 0
 authentication-mode password
user-interface vty 0 4
 authentication-mode aaa
 protocol inbound ssh
user-interface vty 16 20
#

阅读(475) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~