如何在 Force10 S 系列交換器上啟用 SSH 與停用 Telnet

摘要: 在 Dell Force10 上啟用 SSH、停用 Dell Force10 上的 Telnet、在 Dell OS9 交換器上啟用 SSH、停用 Dell OS9 交換器上的 Telnet。

本文章適用於 本文章不適用於 本文無關於任何特定產品。 本文未識別所有產品版本。

說明

本文的目的是啟用安全連線方法,同時停用 Force10 S 系列交換器上不安全的遠端連線方法 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 server version        : v1 and v2.
Password Authentication   : enabled.
Hostbased Authentication  : disabled.
RSA       Authentication  : disabled.
Vty       Encryption      Remote IP
 
Dell(conf)#exit
Dell#copy running-config startup-config
              
File with same name already exist.
Proceed to copy the file [confirm yes/no]: y
  1. 使用 SSH 測試遠端存取。
    1. 開啟終端機模擬器程式,如 Putty
    2. 在對應的方塊中輸入交換器的 IP 位址
    3. 將連線類型設定為 SSH
    4. 按一下「開啟」
    5. 使用命令行介面 (CLI) 登入交換器
警告:若無法在停用 Telnet 之前使用 SSH 測試登入成功,可能會導致無法遠端存取交換器。
 
  1. 停用 Telnet,並使用 Putty 工作階段在 CLI 中使用 SSH 儲存組態。
Dell>
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.
Proceed to copy the file [confirm yes/no]: y

受影響的產品

Force10 S25N-S50N, Force10 S25-01-GE-24P, Force10 S25-01-GE-24T, Force10 S25-01-GE-24V, Force10 S50-01-GE-48T-V, Force10 S50-01-GE-48T, PowerSwitch S4810P, PowerSwitch S4820T, PowerSwitch S5000, Force10 S50P, Force10 S60-44T, PowerSwitch S6000
文章屬性
文章編號: 000122301
文章類型: How To
上次修改時間: 18 4月 2026
版本:  5
向其他 Dell 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。