> 如果我们想要防止non-SSH连接,我们添加 transport input SSH 在 线路之下对仅SSH连接限制路由器。平直的 (non-SSH) Telnets将拒绝。 line vty 0 4 !--- Prevent non-SSH Telnets. transport input ssh 我们测 试是确保的non-SSH用户不能远程登录到路由器卡特。 设置IOS 路由器或交换机作为SSH 客户端 有为启用SSH技术支持要求的四个步骤在IOS路由器。 配置 hostname命令。 配置DNS域。 生成将使用的SSH键。 启用SSH vtys的传输技术支持。 如果我们想要有一次设备操作作为SSH 客户端对其 他,我们能添加SSH到第二个设备,Reed。设备然后在客户端 服务器排列,用作为服务器和Reed的卡特作为客户端。 IOS SSH客户端配置在Reed是相同象为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页码:[1] [2] [3] [4] [5] [6] [7] [8] 第4页、共8页 |