314
C
HAPTER
36: SSH T
ERMINAL
S
ERVICES
SSH Client Configuration
Table 269 describes SSH configuration tasks.
In the initial authentication, if the SSH client does not have the public key for the
server which it accesses for the first time, the client continues to access the server and
save locally the public key of the server. Then at the next access, the client can
authenticate the server using the public key saved locally.
Displaying SSH
Configuration
Use the
display
commands in any view to view the running of SSH and further to
check the configuration result.
Return to system view from
public key view
peer-public-key
end
Allocate public keys to SSH users
ssh user
username
assign
rsa-key
keyname
Required
Keyname
is the name of an
existing public key. If the user
already has a public key, the
new public key overrides the
old one.
Table 268
Configure client public keys (Continued)
Operation
Command
Remarks
Table 269
Configure SSH client
Operation
Command
Remarks
Enter system view
system-view
Enable the connection
between SSH client
and server
ssh2
host-ipaddr
[
port
] [
prefer_kex
{
dh_group1
|
dh_exchange_group
} ] [
prefer_ctos_cipher
{
des
|
aes128 }
] [
prefer_stoc_cipher
{
des
|
aes128
} ] [
prefer_ctos_hmac
{
sha1
|
sha1_96
|
md5
|
md5_96
} ] [
prefer_stoc_hmac
{
sha1
|
sha1_96
|
md5
|
md5_96
} ]
Required
You can use this command
to enable the connection
between SSH client and
server, define key
exchange algorithm
preference, encryption
algorithm preference and
HMAC algorithm
preference between the
server and client.
Allocate a public key to
the server
ssh client
server-ip
assign rsa-key
keyname
Required
You can specify on the
client the public key for the
server to be connected to
guarantee the client can be
connected to a reliable
server.
Configure the client to
run the initial
authentication
ssh client first-time enable
Optional
By default, the client runs
the initial authentication.
Table 270
Display SSH configuration
Operation
Command
Display host and server public keys
display rsa local-key-pair public
Display client RSA public key
display rsa peer-public-key
[
brief
|
name
keyname
]
Display SSH status and session
information
display ssh server
{
status
|
session }
Display SSH user information
display ssh user-information
[
username
]
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...