国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 網絡通信 > 正文

ConfiguringSecureShellonCiscoIOSRouters

2019-11-05 01:11:13
字體:
來源:轉載
供稿:網友

  Hardware and Software Versions
  The information in this document is based on the software version below.
  
  Cisco IOS 3600 Software (C3640-IK9S-M), Version 12.2(2)T1
  
  SSH was introdUCed into IOS platforms/images as shown below.
  
  SSH Version 1.0 (SSHv1) server was introduced in some IOS platforms/images starting in 12.0.5.S.
  SSH client was introduced in some IOS platforms/images starting in 12.1.3.T.
  SSH terminal-line access (also known as reverse-telnet) was introduced in some IOS platforms/images starting in 12.2.2.T.
  [[The No.1 Picture.]]
  Testing Authentication Without SSH:
  !--- aaa new-model causes the local username/passWord on the router
  !--- to be used in the absence of other aaa statements.
  aaa new-model
  username cisco password 0 cisco
  line vty 0 4
  !--- Instead of aaa new-model, the login local command may be used.ip domain-name rtp.cisco.com
  !--- Generate an SSH key to be used with SSH.
  
  Testing Authentication With SSH:
  cry key generate rsa
  ip ssh time-out 60
  ip ssh authentication-retries 2
  
  ip domain-name rtp.cisco.com
  !--- Generate an SSH key to be used with SSH.
  cry key generate rsa
  ip ssh time-out 60
  ip ssh authentication-retries 2
  
  line vty 0 4
  !--- PRevent non-SSH telnets.
  transport input ssh
  ssh
  !--- Step 1: Configure hostname if you have not previously done so.
  hostname carter
  !--- aaa new-model causes the local username/password on the router
  !--- to be used in the absence of other AAA statements.
  aaa new-model
  username cisco password 0 cisco
  !--- Step 2: Configure the router's DNS domain.
  ip domain-name rtp.cisco.com
  !--- Step 3: Generate an SSH key to be used with SSH.
  cry key generate rsa
  ip ssh time-out 60
  ip ssh authentication-retries 2
  !--- Step 4: By default the vtys' transport is Telnet. In this case,
  !--- Telnet has been disabled and only SSH is supported.
  line vty 0 4
  transport input SSH
  !--- Instead of aaa new-model, the login local command may be used.
  測試ssh
  ssh -l cisco -c 3des 10.13.1.99
  Adding SSH Terminal-Line Access
  ip ssh port 2001 rotary 1
  line 1 16
  no exec
  rotary 1
  transport input ssh
  exec-timeout 0 0
  modem In Out
  Stopbits 1

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 越西县| 彰化市| 神农架林区| 阿荣旗| 安顺市| 天长市| 太仓市| 和静县| 大庆市| 孟津县| 红桥区| 耿马| 页游| 伊春市| 特克斯县| 滦南县| 香格里拉县| 阿瓦提县| 台湾省| 阳西县| 团风县| 花莲市| 淅川县| 曲阳县| 赤峰市| 宁乡县| 老河口市| 白沙| 巴南区| 同德县| 西吉县| 贵南县| 中方县| 永丰县| 乌兰浩特市| 镇沅| 同心县| 清徐县| 扬中市| 安陆市| 康定县|