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)#

最新文章

  1. 分享在winform下实现左右布局多窗口界面
  2. iOS 播放GIF动态图片!!!!!
  3. Struts2 数据校验流程
  4. navicat内的主键和外键
  5. 在Linux中查看文件的编码及对文件进行编码转换
  6. php 代码大全
  7. compareTo & toString
  8. JAVA数据库连接池实现(转)
  9. java开发的web下载大数据时的异常处理
  10. 网站静态化处理—web前端优化—下【终篇】(13)
  11. pur-ftpd在ubuntu上的安装2(数据库管理)
  12. Django 分页功能
  13. linux下删除.svn的方法
  14. 记录一次tomcat下项目没有加载成功
  15. ACM常用STL
  16. 深入理解Java虚拟机读书笔记7----晚期(运行期)优化
  17. jquery学习总结1-12
  18. Thymeleaf在IDEA中的使用
  19. composer 安装yii2 The package is not available in a stable-enough version解决办法
  20. 3.Dubbo2.5.3快速启动Hello World

热门文章

  1. MAC加域重复跳出---"talagent"想使用“本地项目” 的钥匙串
  2. wireshark mqtt协议解析
  3. js 判断访问终端类型
  4. svn 版本库信息修改
  5. QT5:先导篇 算法
  6. jquery attr的属性
  7. [0] Hello World
  8. Python模块 shelve xml configparser hashlib
  9. [Python3网络爬虫开发实战] 4-解析库的使用
  10. assert.deepStrictEqual()