When Switch Acts As Client For Publickey Authentication - H3C S5100-SI Operation Manual

Ethernet switches
Hide thumbs Also See for H3C S5100-SI:
Table of Contents

Advertisement

[SwitchB] local-user client001
[SwitchB-luser-client001] password simple abc
[SwitchB-luser-client001] service-type ssh level 3
[SwitchB-luser-client001] quit
# Configure the authentication type of user client001 as password.
[SwitchB] ssh user client001 authentication-type password
Configure Switch A
# Create a VLAN interface on the switch and assign an IP address, which serves as the SSH client's
address in an SSH connection.
<SwitchA> system-view
[SwitchA] interface vlan-interface 1
[SwitchA-Vlan-interface1] ip address 10.165.87.137 255.255.255.0
[SwitchA-Vlan-interface1] quit
# Establish a connection to the server 10.165.87.136.
[SwitchA] ssh2 10.165.87.136
Username: client001
Trying 10.165.87.136 ...
Press CTRL+K to abort
Connected to 10.165.87.136 ...
The Server is not authenticated. Do you continue to access it?(Y/N):y
Do you want to save the server's public key?(Y/N):n
Enter password:
**************************************************************************
*
Copyright(c) 2004-2007 Hangzhou H3C Tech. Co., Ltd. All rights reserved.*
*
Without the owner's prior written consent,
*
no decompiling or reverse-engineering shall be allowed.
**************************************************************************
<SwitchB>

When Switch Acts as Client for Publickey Authentication

Network requirements
As shown in
Figure
(SSH Server) for secure data exchange. The user name is client001 and the SSH server's IP address is
10.165.87.136. Publickey authentication is required.
Network diagram
Figure 1-29 Switch acts as client for publickey authentication
1-29, establish an SSH connection between Switch A (SSH Client) and Switch B
1-41
*
*

Advertisement

Table of Contents
loading

This manual is also suitable for:

H3c s5100-ei

Table of Contents