When The Switch Acts As An Ssh Client And The Authentication Type Is Rsa - H3C LS-5100-16P-SI-OVS-H3 Configuration

Low-end ethernet switches
Table of Contents

Advertisement

SSH
H3C Low-End Ethernet Switches Configuration Examples
* Copyright(c) 2004-2006 Hangzhou H3C Technologies Co., Ltd.
* Without the owner's prior written consent,
* no decompiling or reverse-engineering shall be allowed.
*************************************************************************
<H3C>
3.1.4 When the Switch Acts as an SSH Client and the Authentication Type is
RSA
I. Network requirements
As shown inFigure 3-15, establish an SSH connection between Switch A (SSH Client)
and Switch B (SSH Server) for secure data exchange. The user name is client001 and
the SSH server's IP address is 10.165.87.136. RSA authentication is required.
II. Network diagram
Figure 3-15 Network diagram of SSH client configuration when using publickey
authentication
III. Configuration procedure
1)
Configure Switch B
# Create a VLAN interface on the switch and assign an IP address, which the SSH
client will use as the destination for SSH connection.
<H3C> system-view
[H3C] interface vlan-interface 1
[H3C-Vlan-interface1] ip address 10.165.87.136 255.255.255.0
[H3C-Vlan-interface1] quit
# Generate RSA key pair.
[H3C] rsa local-key-pair create
# Set the authentication mode for the user interfaces to AAA.
[H3C] user-interface vty 0 4
[H3C-ui-vty0-4] authentication-mode scheme
# Enable the user interfaces to support SSH.
[H3C-ui-vty0-4] protocol inbound ssh
# Set the user command privilege level to 3.
Chapter 3 SSH Configuration Example
3-14
*
*
*

Advertisement

Table of Contents
loading

Table of Contents