Dell Networking N 系列 OS6:如何啟用 SSH

摘要: 本文說明如何在執行 OS6 的 Dell Networking N 系列交換器中允許 SSH。

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

說明

產生 SSH 金鑰

必須先產生 SSH 金鑰,才能啟動伺服器。SSH 伺服器可以使用 RSA 和 DSA 金鑰的組合、ECDSA 金鑰或三者兼而有之。

 

命令 參數
console# configure 進入組態模式。
console(config)# crypto key generate <key-type>  產生用於加密的 SSH 金鑰。類型有 ecdsarsadsa

 

啟用 SSH 伺服器

生成用於加密的金鑰後,必須啟用該服務。

 

命令 參數
console# configure 進入組態模式。
console(config)# ip ssh server 啟用 ssh 服務。

 

驗證組態

確認 SSH 伺服器正在執行中,並檢視相關的伺服器資訊。

console#show ip ssh

SSH Server enabled.  Port: 22
Protocol Level: Version 2.
SSH Connections Currently in Use: ............. 0
Maximum number of SSH Sessions Allowed: ....... 5
SSH Session Timeout: .......................... 600
SCP server Administrative Mode: ............... Disabled
RSA key was generated.
DSA key was generated.
ECDSA key was generated.
SSH Public Key Authentication is disabled.
Max SSH authentication tries:.................. 4
Encryption Algorithms:......................... aes128-ctr
                                                aes192-ctr
                                                aes256-ctr
                                                chacha20-poly1305@openssh.com

MAC Algorithms:................................ hmac-sha1
                                                hmac-sha1-etm@openssh.com
                                                hmac-sha2-256
                                                hmac-sha2-512
                                                hmac-sha2-256-etm@openssh.com
                                                hmac-sha2-512-etm@openssh.com
                  
KEX Algorithms:................................ curve25519-sha256
                                                curve25519-sha256@libssh.org
                                                ecdh-sha2-nistp256
                                                ecdh-sha2-nistp384
                                                ecdh-sha2-nistp521
                                                diffie-hellman-group-exchange-sha256
                                                diffie-hellman-group16-sha512
                                                diffie-hellman-group18-sha512
                                                diffie-hellman-group14-sha256
                                                diffie-hellman-group14-sha1


Active Incoming Sessions.

Ip Address      User Name       Idle Time    Session Time
--------------- --------------- ------------ ------------

 

受影響的產品

PowerSwitch N1100-ON Series, PowerSwitch N1500 Series, PowerSwitch N2000 Series, PowerSwitch N2100 Series, PowerSwitch N2200-ON Series, PowerSwitch N3000 Series, PowerSwitch N3000E-ON Series, PowerSwitch N3100 Series, PowerSwitch N3200-ON , PowerSwitch N4000 Series, PowerConnect 8100 Series ...
文章屬性
文章編號: 000114356
文章類型: How To
上次修改時間: 21 11月 2025
版本:  6
向其他 Dell 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。