Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

如何在 Force10 S 系列交换机上启用 SSH 和禁用 Telnet

Summary: 在 Dell Force10 上启用 SSH,在 Dell Force10 上禁用 Telnet,在 Dell OS9 交换机上启用 SSH,在 Dell OS9 交换机上禁用 Telnet

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Instructions

本文的目标是在 Force10 S 系列交换机


上启用更安全的远程访问方法 SSH,同时禁用不安全的远程连接方法 Telnet要启用默认禁用的 SSH 和禁用默认启用的 Telnet,请完成以下操作:


1. 使用控制台或 Telnet 连接通过 CLI 启用 SSH,保存配置。

Dell>
Dell>en
Dell#
Dell#configure
Dell(conf)#ip ssh server enable
Dell(conf)#crypto key generate
Dell(conf)#exit
Dell#show ip ssh
 
SSH server : enabled.
SSH 服务器版本:v1 和 v2。
Password Authentication :启用。
Hostbased Authentication:禁用。
RSA Authentication:禁用。
Vty Encryption 远程 IP
 
Dell(conf)#exit
Dell#copy running-config startup-config
              
同名文件已存在。
继续复制文件 [确认是/否]: y 



2.  测试通过 SSH 进行远程访问。

答:打开终端仿真程序,例如 Putty
B。在相应的框中
输入交换机的 IP 地址
C。将连接类型设置为 SSH
D。单击“打开”
E.通过 CLI 登录交换机
 

 
如果在禁用 Telnet 之前未能测试通过 SSH 成功登录,可能会导致交换机无法远程访问。

 
3.  禁用 Telnet 并使用 CLI 通过 SSH 保存 Putty 会话中的配置。

戴尔>
Dell>en
Dell#
Dell#configure
Dell(conf)#no ip telnet server enable
Dell(conf)#exit
Dell#copy running-config startup-config
              
File with same name already exist.
继续复制文件 [确认是/否]: y

Article Properties


Last Published Date

21 Feb 2021

Version

3

Article Type

How To