码迷,mamicode.com
首页 > 其他好文 > 详细

017 SSH

时间:2016-12-09 19:20:46      阅读:173      评论:0      收藏:0      [点我收藏+]

标签:ati   ast   ref   笔记   export   lin   gen   name   -name   

Router>en
Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname jinyan
jinyan(config)#ip domain-name jinyan.com
jinyan(config)#crypto key ge
jinyan(config)#crypto key generate rsa
The name for the keys will be: jinyan.jinyan.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]: 512
% Generating 512 bit RSA keys, keys will be non-exportable...[OK]
 
jinyan(config)#ip ssh time-out 60
*?? 1 0:1:7.740:  RSA key size needs to be at least 768 bits for ssh version 2
*?? 1 0:1:7.740:  %SSH-5-ENABLED: SSH 1.5 has been enabled
jinyan(config)#ip ssh au
jinyan(config)#ip ssh authentication-retries 2
jinyan(config)#line vty 0 15
jinyan(config-line)#transport input ssh
jinyan(config-line)#




017 SSH

标签:ati   ast   ref   笔记   export   lin   gen   name   -name   

原文地址:http://www.cnblogs.com/sanyuanempire/p/6150421.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!