SSH Terminal Services
315
SSH Server
Configuration Example
Network requirements
As shown in Figure 101, configure a local connection from the SSH client to the
switch. The PC runs the SSH2.0-supported client software.
Network diagram
Figure 101
Network diagram for SSH server configuration
Configuration procedure
1
Generate a local RSA key pair.
<S4200G>
system-view
[4200G]
rsa local-key-pair create
If the local RSA key pair has been generated in previous operations, skip this step.
2
Set authentication type.
Settings for the two authentication types are described respectively in the following:
■
Password authentication
■
Set AAA authentication on the user interfaces.
[4200G]
user-interface vty 0 4
[4200G-ui-vty0-4]
authentication-mode scheme
Set the user interfaces to support SSH.
[4200G-ui-vty0-4]
protocol inbound ssh
Configure the login protocol for the clinet001 user as SSH and authentication type as
password.
[4200G]
local-user client001
[4200G-luser-client001]
password simple abc
[4200G-luser-client001]
service-type ssh
[4200G-luser-client001]
quit
[4200G]
ssh user client001 authentication-type password
Select the default SSH authentication timeout time and authentication retry times.
After these settings, run the SSH2.0-supported client software on other hosts
connected to the switch. Log in to the switch using user name client001 and
password abc.
■
RSA public key authentication
■
Set AAA authentication on the user interfaces.
[4200G]
user-interface vty 0 4
[4200G-ui-vty0-4]
authentication-mode scheme
Set the user interfaces to support SSH.
[4200G-ui-vty0-4]
protocol
inbound ssh
S
S
H
C
lie
n
t
S
w
itc
h
S
S
H
S
e
rv
e
r
P
C
S
S
H
C
lie
n
t
S
w
itc
h
S
S
H
S
e
rv
e
r
P
C
Содержание 4200G 12-Port
Страница 10: ...8 CONTENTS...
Страница 14: ...4 ABOUT THIS GUIDE...
Страница 46: ...32 CHAPTER 5 LOGGING IN THROUGH WEB BASED NETWORK MANAGEMENT SYSTEM...
Страница 48: ...34 CHAPTER 6 LOGGING IN THROUGH NMS...
Страница 60: ...46 CHAPTER 9 VLAN CONFIGURATION...
Страница 64: ...50 CHAPTER 10 MANAGEMENT VLAN CONFIGURATION...
Страница 80: ...66 CHAPTER 13 GVRP CONFIGURATION...
Страница 98: ...84 CHAPTER 15 LINK AGGREGATION CONFIGURATION...
Страница 112: ...98 CHAPTER 18 MAC ADDRESS TABLE MANAGEMENT...
Страница 126: ...112 CHAPTER 19 LOGGING IN THROUGH TELNET...
Страница 162: ...148 CHAPTER 20 MSTP CONFIGURATION...
Страница 274: ...260 CHAPTER 29 IGMP SNOOPING CONFIGURATION...
Страница 276: ...262 CHAPTER 30 ROUTING PORT JOIN TO MULTICAST GROUP CONFIGURATION...
Страница 298: ...284 CHAPTER 33 SNMP CONFIGURATION...
Страница 304: ...290 CHAPTER 34 RMON CONFIGURATION...
Страница 338: ...324 CHAPTER 36 SSH TERMINAL SERVICES...
Страница 356: ...342 CHAPTER 38 FTP AND TFTP CONFIGURATION...
Страница 365: ...Information Center Configuration Example 351 S4200G terminal logging...
Страница 366: ...352 CHAPTER 39 INFORMATION CENTER...
Страница 378: ...364 CHAPTER 40 BOOTROM AND HOST SOFTWARE LOADING...
Страница 384: ...370 CHAPTER 41 Basic System Configuration and Debugging...
Страница 388: ...374 CHAPTER 43 NETWORK CONNECTIVITY TEST...
Страница 406: ...392 CHAPTER 45 CONFIGURATION OF NEWLY ADDED CLUSTER FUNCTIONS...
Страница 422: ...408 CHAPTER 48 UDP HELPER CONFIGURATION...