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.