Dell Networking N 系列 OS6:如何啟用 SSH
Summary: 本文說明如何在執行 OS6 的 Dell Networking N 系列交換器中允許 SSH。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Instructions
產生 SSH 金鑰
必須先產生 SSH 金鑰,才能啟動伺服器。SSH 伺服器可以使用 RSA 和 DSA 金鑰的組合、ECDSA 金鑰或三者兼而有之。
| 命令 | 參數 |
console# configure |
進入組態模式。 |
console(config)# crypto key generate <key-type> |
產生用於加密的 SSH 金鑰。類型有 ecdsa小 rsa和 dsa。 |
啟用 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
--------------- --------------- ------------ ------------
Affected Products
PowerSwitch N1100-ON Series, PowerSwitch N1500 Series, PowerSwitch N2000 Series, PowerSwitch N2100 Series, PowerSwitch N2200-ON Series, PowerSwitch N3000 Series, Dell EMC PowerSwitch N3000E-ON Series, Dell EMC PowerSwitch N3100 Series
, Dell EMC Networking N3200-ON, PowerSwitch N4000 Series, PowerConnect 8100 Series
...
Article Properties
Article Number: 000114356
Article Type: How To
Last Modified: 21 Nov 2025
Version: 6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.