3Com Switch 8800 Family Configuration Guide

778 CHAPTER 67: SSH TERMINAL SERVICE
Perform the following configuration in system view.
By default, the client does not perform the first-time authentication.
Displaying and
Debugging SSH
On completion of the above configurations, you can use the display command in
any view to view the operation of the configured SSH and further verify the result
of the configurations. You can also debug SSH by performing the debugging
command in user view.
Perform the following debugging command configuration in user view.
SSH Server
Configuration Example
Network requirements
As shown in Figure 182, a PC (SSH client) running SSH 2.0-enabled client software
establishes a local connection with the switch (SSH server) to better guarantee the
security of exchanged information.
Network diagram
Figure 182 Network diagram for SSH server
Tabl e 728 Configure/cancel the first-time authentication of the server
Operation Command
Configure the first-time authentication of the server ssh client first-time enable
Cancel the first-time authentication of the server undo ssh client first-time
Tabl e 729 Display information relevant to SSH
Operation Command
Display the public key of the host key pair and
the server key pair of the server
display rsa local-key-pair public
Display the public key of the specified RSA key
pair of the client
display rsa peer-public-key [ brief | name
keyname ]
Display the SSH status information and session
information
display ssh server { status | session }
Display information about the SSH user display ssh user-information [ username ]
Tabl e 730 Debug information relevant to SSH
Operation Command
Enable SSH debugging debugging ssh server { vty index | all }
Disable SSH debugging undo debugging ssh server { vty index | all }
Switch
PC
SSH client
Switch
SSH server
PC