Dell Networking N-seriens OS6: Sådan aktiveres SSH

Summary: Denne artikel beskriver, hvordan du tillader SSH i en switch i Dell Networking N-serien, der kører OS6.

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

Generer SSH-nøgler

SSH-nøgler skal genereres, før serveren kan startes. SSH-serveren kan bruge enten en kombination af RSA- og DSA-nøgler, en ECDSA-nøgle eller alle tre.

 

Kommando Parameter
console# configure Gå til konfigurationstilstand.
console(config)# crypto key generate <key-type>  Generer de SSH-nøgler, der bruges til kryptering. Typer er ecdsa, rsaog dsa.

 

Aktivér SSH-serveren

Efter generering af de nøgler, der bruges til kryptering, skal tjenesten være aktiveret.

 

Kommando Parameter
console# configure Gå til konfigurationstilstand.
console(config)# ip ssh server Aktivér SSH-tjenesten.

 

Kontrollér konfiguration

Kontroller, at SSH-serveren kører, og se de tilknyttede serveroplysninger.

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.