EasyManua.ls Logo

HP 5120 EI Switch Series User Manual

HP 5120 EI Switch Series
304 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #224 background imageLoading...
Page #224 background image
214
Follow these steps to configure an SSH user and specify the service type and authentication mode:
To do…
Use the command…
Remarks
Enter system view
system-view
Create an SSH
user, and
specify the
service type
and
authentication
mode
For Stelnet
users
ssh user username service-type
stelnet authentication-type {
password | { any | password-
publickey | publickey } assign
publickey keyname }
Required
Use either command.
For all users or
SFTP users
ssh user username service-type {
all | sftp } authentication-type {
password | { any | password-
publickey | publickey } assign
publickey keyname work-
directory directory-name }
CAUTION:
A user without an SSH account can still pass password authentication and log in to the server through Stelnet or
SFTP, as long as the user can pass AAA authentication and the service type is SSH.
An SSH server supports up to 1024 SSH users.
For successful login through SFTP, you must set the user service type to sftp or all.
SSH1 does not support the service type sftp. If the client uses SSH1 to log in to the server, you must set the
service type to stelnet or all on the server.
An SFTP users working folder depends on the authentication method. For a user using only password
authentication, the working folder is the AAA authorized one. For a user using only publickey authentication or
using both the publickey and password authentication methods, the working folder is the one set by using the
ssh user command.
You can change the authentication method and public key of an SSH user when the user is communicating with
the SSH server, but your changes take effect only after the user logs out and logs in again.
NOTE:
With publickey authentication, which commands a user can use after login depends on the user privilege level,
which is configured with the user privilege level command on the user interface.
With password authentication, which commands a user can use after login depends on AAA authorization.
Setting the SSH management parameters
SSH management includes:
Enabling the SSH server to be compatible with SSH1 client
Setting the RSA server key pair update interval, applicable to users using SSH1 client
Setting the SSH user authentication timeout period
Setting the maximum number of SSH authentication attempts
Setting the parameters can help avoid malicious guessing at and cracking of the keys and usernames,
securing your SSH connections.
Follow these steps to set the SSH management parameters:

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the HP 5120 EI Switch Series and is the answer not in the manual?

HP 5120 EI Switch Series Specifications

General IconGeneral
ModelHP 5120 EI Switch Series
LayerLayer 3
Forwarding Rate96 Mpps
MAC Address Table Size16K
Power SupplyInternal
ManagementCLI, Web GUI, SNMP
FeaturesIPv6 support
Routing ProtocolRIP, OSPF, BGP
Security FeaturesACLs
Layer 3 FeaturesOSPF, BGP, VRRP
RedundancyVRRP
Operating Temperature0°C to 45°C
SFP Slots4
VLAN Support4094
Jumbo Frames9216 bytes

Summary

AAA Configuration

AAA Configuration Considerations and Task List

Outlines the tasks and considerations required for configuring AAA on a NAS device.

Configuring AAA Schemes

Details the process of configuring AAA schemes, including local, RADIUS, and HWTACACS schemes.

Configuring RADIUS and HWTACACS Schemes

Describes configuring RADIUS and HWTACACS schemes, specifying servers, shared keys, and parameters.

Configuring AAA Authentication, Authorization, and Accounting Methods

Details the configuration of authentication, authorization, and accounting methods for users within an ISP domain.

802.1X Configuration

Configuring 802.1X

Provides steps for enabling 802.1X, setting access control, and configuring guest/Auth-Fail VLANs.

Enabling 802.1X and Access Control

Details enabling 802.1X globally and on ports, along with specifying access control methods.

MAC Authentication Configuration

MAC Authentication Configuration Task List

Lists tasks for configuring MAC authentication, including basic setup and examples.

Basic Configuration for MAC Authentication

Covers the basic steps for configuring MAC authentication globally and on ports.

Portal Configuration

Configuring Layer 2 Portal Authentication

Details the steps to configure Layer 2 portal authentication, including VLAN assignment and Auth-Fail VLAN.

Triple Authentication Configuration

Configuring Triple Authentication

Provides steps to configure triple authentication by enabling portal, MAC, and 802.1X authentication.

Port Security Configuration

Enabling Port Security and Setting Mode

Provides steps to enable port security and set its mode, like autoLearn or secure.

User Profile Configuration

Creating and Enabling User Profiles

Details creating and enabling user profiles to apply configurations and restrict user behaviors.

Password Control Configuration

Password Control Configuration Task List

Lists tasks for configuring password control, including global, group, and local user settings.

Configuring Password Control

Details enabling password control features like aging, history, and complexity checking.

Public Key Configuration

Configuring the Local Asymmetric Key Pair

Details creating, destroying, displaying, and exporting local RSA or DSA key pairs.

PKI Configuration

PKI Configuration Task List

Lists tasks for configuring PKI, including entity DN, PKI domain, and certificate requests.

Configuring an Entity DN and PKI Domain

Details configuring entity DN parameters and PKI domains for certificate requests.

Submitting and Retrieving Certificates

Explains submitting certificate requests in auto/manual modes and retrieving certificates.

SSH2.0 Configuration

Configuring the Device as an SSH Server

Provides steps to configure the device as an SSH server, including key generation and user setup.

SSH Server Configuration Task List

Lists tasks for configuring the SSH server, such as key pair generation and enabling the server.

Configuring the Device as an SSH Client

Details configuring the device as an SSH client, including source IP and connection setup.

SFTP Configuration

Configuring the Device as an SFTP Server

Provides steps to enable and configure the device as an SFTP server.

Configuring the Device an SFTP Client

Details configuring the device as an SFTP client, including source IP and connection setup.

SSL Configuration

Configuring an SSL Server Policy

Details setting SSL parameters for a server, including PKI domain and cipher suites.

TCP Attack Protection Configuration

IP Source Guard Configuration

ARP Attack Protection Configuration

ND Attack Defense Configuration

Related product manuals