beautypg.com

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

Page 508

background image

Operation Manual – SSH Terminal Service

H3C S3100-52P Ethernet Switch

Chapter 1 SSH Terminal Service

1-22

II. Network diagram

PC

IP address:

10.165.87.136

SSH Client

Switch B

SSH Server

Switch A

PC

SSH Client

Switch B

SSH Server

Switch A

PC

IP address:

10.165.87.136

SSH Client

Switch B

SSH Server

Switch A

PC

Switch B

SSH Server

SSH Client

Switch A

n

Figure 1-13

Network diagram for SSH client configuratio

III. Configuration procedure

1) Enable the client to run initial authentication.

[H3C] ssh client first-time enable

2) Configure the server's public key on the client.

[H3C] rsa peer-public-key public

[H3C-rsa-public-key] public-key-code begin

[H3C-rsa-key-code] 308186028180739A291ABDA704F5D93DC8FDF84C427463

[H3C-rsa-key-code] 1991C164B0DF178C55FA833591C7D47D5381D09CE82913

[H3C-rsa-key-code] D7EDF9C08511D83CA4ED2B30B809808EB0D1F52D045DE4

[H3C-rsa-key-code] 0861B74A0E135523CCD74CAC61F8E58C452B2F3F2DA0DC

[H3C-rsa-key-code] C48E3306367FE187BDD944018B3B69F3CBB0A573202C16

[H3C-rsa-key-code] BB2FC1ACF3EC8F828D55A36F1CDDC4BB45504F020125

[H3C-rsa-key-code] public-key-code end

[H3C-rsa-public-key] peer-public-key end

[H3C] ssh client 10.165.87.136 assign rsa-key public

3) Start SSH Client.
Settings for the two authentication types are described respectively in the following:

z

Password authentication

# Start SSH Client with default encryption algorithms.

[H3C] ssh2 10.165.87.136

username: client003

Trying 10.165.87.136

Press CTRL+K to abort

Connected to 10.165.87.136...

The Server is not autherncated.Do you continue access it?(Y/N):y