Ii. network diagram, Iii. configuration procedure – H3C Technologies H3C S3100 Series Switches User Manual

Page 506

Advertising
background image

Operation Manual – SSH Terminal Service

H3C S3100-52P Ethernet Switch

Chapter 1 SSH Terminal Service

1-20

II. Network diagram

SSH Client

Switch

SSH Server

PC
SSH Client

Switch

SSH Server

n

PC

Figure 1-12

Network diagram for SSH server configuratio

III. Configuration procedure

1) Generate local RSA key pair.

<H3C>system-view

[H3C] rsa local-key-pair create

Note:

If local RSA key pair has already been generated previously, you can skip this step.


2) Set user authentication method.
Settings for the two authentication types are described respectively in the following:

z

Password authentication

# Set AAA authentication on user interfaces.

[H3C] user-interface vty 0 4

[H3C-ui-vty0-4] authentication-mode scheme

# Configure the user interfaces to support SSH.

[H3C-ui-vty0-4] protocol inbound ssh

# Set login protocol to SSH, authentication type to password, and authentication
password to "abc" for user clinet001.

[H3C] local-user client001

[H3C-luser-client001] password simple abc

[H3C-luser-client001] service-type ssh

[H3C-luser-client001] quit

[H3C] ssh user client001 authentication-type password

Advertising