路由器 交换机 ssh 配置
一个支持SSH的IPSecIOS镜像。在我们的比如中,我们将使用CiscoIOS命令。运行下面的命令:Routergt;Showflash该命令显示已加载的IOS镜像称号。你可以用成果比照你的供货商的支持特性列表。在你验证了你的设备支持SSH以后,请保证设备具有一个主机名和配置准确的主机域,就像下面的相同:Routergt;configterminalRouter(config)#H/OSTnamebenetbenet(config)#ipdomain-namebenet在这个时候,你就可以启用路由器上的SSH服务器。要启用SSH服务器,你首要必须使用下面的命令生成一对RSA密钥:benet(config)#cryptokeygeneratersa在路由器上生成一对RSA密钥就会自动启用SSH.假如你删去这对RSA密钥,就会自动禁用该SSH服务器。路由器交换机ssh配置(根号结合).doc
(An IPSecIOS image that supports SSH. In our example, we will use CiscoIOS commands. Run the following command: Routergt;Showflash This command displays the name of the loaded IOS image. You can use the results to compare your vendor's list of supported features. After you've verified that your device supports SSH, make sure the device has a hostname and an accurately configured host domain, like the following: Routergt;configterminalRouter(config)#H/OSTnamebenetbenet(config)#ipdomain-namebenet at this time , you can enable the SSH server on the router. To enable the SSH server, you must first generate a pair of RSA keys using the following command: benet(config)#cryptokeygeneratersa Generating a pair of RSA keys on the router will automatically enable SSH. If you delete the pair of RSA keys, The SSH server is automatically disabled.
Router switch ssh configuration (root combination).doc)
页:
[1]