频道栏目
首页 > 资讯 > 疑难 > 正文

SSH登录思科路由器RSA modulus too small处理

13-05-28        来源:[db:作者]  
收藏   我要投稿
SSH登录思科路由器RSA modulus too small处理
 
问题现象:
ssh_rsa_verify: RSA modulus too small: 512 < minimum 768 bits
key_verify failed for server_host_key
 
临时解决:
用ssh -v -1 -c des参数连接
 
test@linux:~$ ssh -v -1 -c des root@10.1.1.1
 
永久解决方法:
 
liyi-cisco7200(config)#crypto key zeroize rsa 
% All RSA keys will be removed.
% All router certs issued using these keys will also be removed.
Do you really want to remove these keys? [yes/no]: yes
 
cisco7200(config)#crypto key generate rsa general-keys 
The name for the keys will be: liyi-cisco7200.liyi.liyi.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]: 1024
% Generating 1024 bit RSA keys ...[OK]
 
相关TAG标签
上一篇:OSI网络层基本功能
下一篇:自定义的View
相关文章
图文推荐

关于我们 | 联系我们 | 广告服务 | 投资合作 | 版权申明 | 在线帮助 | 网站地图 | 作品发布 | Vip技术培训 | 举报中心

版权所有: 红黑联盟--致力于做实用的IT技术学习网站