|
SSH 协议要在12.1(11)以上的IOS 版本才被cisco 设备支持的。查看IOS版本Tb6Linux联盟 Tb6Linux联盟 Router#show versionTb6Linux联盟 Cisco IOS Software, 3600 Software (C3640-JS-M), Version 12.4(10), RELEASE SOFTWARE (fc1)Tb6Linux联盟 Technical Support: http://www.cisco.com/techsupportTb6Linux联盟 Copyright (c) 1986-2006 by Cisco Systems, Inc.Tb6Linux联盟 Compiled Wed 16-Aug-06 04:04 by prod_rel_teamTb6Linux联盟 ROM: ROMMON Emulation MicrocodeTb6Linux联盟 ROM: 3600 Software (C3640-JS-M), Version 12.4(10), RELEASE SOFTWARE (fc1)Tb6Linux联盟 Router uptime is 11 minutesTb6Linux联盟 System returned to ROM by unknown reload cause - suspect boot_data[BOOT_COUNT] 0x0, BOOT_COUNT 0, BOOTDATA 19Tb6Linux联盟 System restarted at 19:05:39 UTC Wed Oct 24 2007Tb6Linux联盟 System image file is "tftp://255.255.255.255/unknown"Tb6Linux联盟 Cisco 3640 (R4700) processor (revision 0xFF) with 124928K/6144K bytes of memory.Tb6Linux联盟 Processor board ID 00000000Tb6Linux联盟 R4700 CPU at 100MHz, Implementation 33, Rev 1.2Tb6Linux联盟 1 FastEthernet interfaceTb6Linux联盟 4 Serial interfacesTb6Linux联盟 DRAM configuration is 64 bits wide with parity enabled.Tb6Linux联盟 125K bytes of NVRAM.Tb6Linux联盟 8192K bytes of processor board System flash (Read/Write) Configuration register is 0x2102Tb6Linux联盟 Tb6Linux联盟 下面开始正式配置SSHTb6Linux联盟 Tb6Linux联盟 ssh(config)#hostname sshTb6Linux联盟 ssh(config)#ip domain-name eric.comTb6Linux联盟 ssh(config)#aaa new-modelTb6Linux联盟 ssh(config)#username eric86 password eric86Tb6Linux联盟 ssh(config)#crypto key generate rsa modulus 2048Tb6Linux联盟 The name for the keys will be: ssh.eric.comTb6Linux联盟 % The key modulus size is 2048 bitsTb6Linux联盟 % Generating 2048 bit RSA keys, keys will be non-exportable...[OK]Tb6Linux联盟 ssh(config)#line vty 0 15Tb6Linux联盟 ssh(config-line)#transport input sshTb6Linux联盟 ssh(config-line)#exitTb6Linux联盟 *Oct 24 19:26:06.595: %SSH-5-ENABLED: SSH 1.99 has been enabled 出于安全方面的原因,在对企业的cisco网络产品应该启用SSH并禁用TELNET.因为telnet是以明文方式传递口令的,而ssh不以明文方式传递口令,并且可以与radius和racacs+的方法一起使用.这样一来就可以大大的增加cisco设备的安全性.问题虽简单,但细节决定一切.Tb6Linux联盟
Linux联盟收集整理 ,转贴请标明原始链接,如有任何疑问欢迎来本站Linux论坛讨论 |
|