Chinaunix首页 | 论坛 | 博客
  • 博客访问: 371454
  • 博文数量: 114
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 1219
  • 用 户 组: 普通用户
  • 注册时间: 2015-02-07 21:23
文章分类

全部博文(114)

文章存档

2018年(1)

2017年(5)

2016年(87)

2015年(21)

我的朋友

分类: 网络与安全

2015-10-22 11:07:03

需求: PC机客户端通过SSH能够远程登录交换机进行远程管理。

步骤一,生成本地密钥对:

[test]rsa local-key-pair create

The key name will be: Auotnavi-callcenter-01_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...

.++++++

............++++++

...............++++++++

.++++++++

步骤二,配置VTY用户界面:

[Auotnavi-callcenter-01]user

[Auotnavi-callcenter-01]user-in

[Auotnavi-callcenter-01]user-interface vty 0 4

[Auotnavi-callcenter-01-ui-vty0-4]auth

[Auotnavi-callcenter-01-ui-vty0-4]authentication-mode aaa

[Auotnavi-callcenter-01-ui-vty0-4]pro

[Auotnavi-callcenter-01-ui-vty0-4]protocol in

[Auotnavi-callcenter-01-ui-vty0-4]protocol inbound ssh


步骤三,创建SSH用户及密码

#aaa

#local-user root password simple 123456

#local-user root privilege level 3

#local-user root service-type ssh

步骤四,使用stelnet:

[test]stelnet server enable

Info: Succeeded in starting the Stelnet server.

[test]ssh authentication-type default password

阅读(844) | 评论(0) | 转发(0) |
0

上一篇:centos时间同步的两种方法

下一篇:cacti

给主人留下些什么吧!~~