当前位置:高校自动化网 >> Cisco >> 浏览文章

cisco 配置ssh管理与telnet的不同(图)

文章来源:本站原创 作者:佚名


该文章讲述了cisco 配置ssh管理与telnet的不同(图).

讲解配置ssh管理与telne对

比:

 ssh相比telnet有比较大的优势,就是ssh的连接是经过加密的。

 

点击浏览下一页

 

Router>en

Router#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#interface fastEthernet 0/0

Router(config-if)#ip address 192.168.1.1 255.255.255.0

Router(config-if)#no shutdown

Router(config-if)#exit

*Apr 21 19:47:24.895: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up

*Apr 21 19:47:24.895: %ENTITY_ALarm-6-INFO: CLEAR INFO Fa0/0 Physical Port Administrative State Down ra

*Apr 21 19:47:25.895: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config)#hostname ra

ra(config)#ip domain-name abc.com

ra(config)#crypto key generate rsa

The name for the keys will be: ra.abc.com

Choose the size of the key modulus in the range of 360 to 2048 for your

General Purpose Keys. Choosing a key modulus greater than 512 may take

a few minutes.

How many bits in the modulus [512]:

% Generating 512 bit RSA keys, keys will be non-exportable...[OK]

ra(config)#

*Apr 21 19:47:49.767: %SSH-5-ENABLED: SSH 1.99 has been enabled

ra(config)#line vty 0 4

ra(config-line)#transport input ssh

ra(config-line)#login

% Login disabled on line 2, until 'password' is set

% Login disabled on line 3, until 'password' is set

% Login disabled on line 4, until 'password' is set

% Login disabled on line 5, until 'password' is set

% Login disabled on line 6, until 'password' is set

ra(config-line)#exit

ra(config)#aaa new-model

ra(config)#aaa authentication login default local

ra(config)#username abc password abc

登陆:

 

点击浏览下一页

 

连接

 

点击浏览下一页

 

接受并保存

 

点击浏览下一页
相关文章:
  • 确保网络端点安全的一些方法
  • 总结UC 项目常见问题及解决方法
  • Cisco交换机预防和排除网络广播风暴-举例讲解
  • 上一篇:Cisco中的ASA5510常用配置简介
    下一篇:如何处理mac mysql汉字乱码问题
    最近更新