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
Summary of Contents for 4200G 12-Port
Page 10: ...8 CONTENTS...
Page 14: ...4 ABOUT THIS GUIDE...
Page 46: ...32 CHAPTER 5 LOGGING IN THROUGH WEB BASED NETWORK MANAGEMENT SYSTEM...
Page 48: ...34 CHAPTER 6 LOGGING IN THROUGH NMS...
Page 60: ...46 CHAPTER 9 VLAN CONFIGURATION...
Page 64: ...50 CHAPTER 10 MANAGEMENT VLAN CONFIGURATION...
Page 80: ...66 CHAPTER 13 GVRP CONFIGURATION...
Page 98: ...84 CHAPTER 15 LINK AGGREGATION CONFIGURATION...
Page 112: ...98 CHAPTER 18 MAC ADDRESS TABLE MANAGEMENT...
Page 126: ...112 CHAPTER 19 LOGGING IN THROUGH TELNET...
Page 162: ...148 CHAPTER 20 MSTP CONFIGURATION...
Page 274: ...260 CHAPTER 29 IGMP SNOOPING CONFIGURATION...
Page 276: ...262 CHAPTER 30 ROUTING PORT JOIN TO MULTICAST GROUP CONFIGURATION...
Page 298: ...284 CHAPTER 33 SNMP CONFIGURATION...
Page 304: ...290 CHAPTER 34 RMON CONFIGURATION...
Page 338: ...324 CHAPTER 36 SSH TERMINAL SERVICES...
Page 356: ...342 CHAPTER 38 FTP AND TFTP CONFIGURATION...
Page 365: ...Information Center Configuration Example 351 S4200G terminal logging...
Page 366: ...352 CHAPTER 39 INFORMATION CENTER...
Page 378: ...364 CHAPTER 40 BOOTROM AND HOST SOFTWARE LOADING...
Page 384: ...370 CHAPTER 41 Basic System Configuration and Debugging...
Page 388: ...374 CHAPTER 43 NETWORK CONNECTIVITY TEST...
Page 406: ...392 CHAPTER 45 CONFIGURATION OF NEWLY ADDED CLUSTER FUNCTIONS...