思科SSH配置(思科设备ssh登陆详细配置过程)

掌握SSH配置方法。

R1(config)#host R1

R1(config)#ip domain-name edurainbow.com

R1(config)#crypto key generate rsa

The name for the keys will be: R1.edurainbow.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]

R1(config)#

R1(config)#aaa new-model

R1(config)#

R1(config)#username wangyuan password cisco123

R1(config)#

R1(config)#ip ssh time-out 30

R1(config)#

R1(config)#

R1(config)#ip ssh authentication-retries 3

R1(config)#ip ssh time-out 120

R1(config)#

R1(config)#line vty 0 4

R1(config-line)#transport input ssh

R1(config-line)#end

R1(config)#

 

在R1路由器上查看SSH的客户端连接:

R1#show ssh

Connection Version Encryption State Username

0 2 RSA Session Started wangyuan

思科SSH配置(思科设备ssh登陆详细配置过程)

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。

发表评论

登录后才能评论