XG Series User's Guide
5.32 SSH Counter, Log, Statistics, and
Status Display Commands
This section explains about commands related to SSH.
5.32.1
SSH Counter, Log, Statistics, and Status Display
Commands
This section explains about commands related to SSH counter, log, statistics, and status display commands.
5.32.1.1 show ssh server key
Function
Available Model
Syntax
Options
Use Mode
Explanation
Caution
Display the public key for SSH host authentication.
XG0224 / XG0448 / XG0440DC / XG0440DCR / XG2600
show ssh server key {dsa|rsa}
dsa
Display the DSA public key for SSH host authentication of this device.
rsa
Display the RSA public key for SSH host authentication of this device.
Operation mode (user class/admin class)
Configuration mode (admin class)
Display the public key for SSH host authentication of this device.
This key is used for SSH protocol version 2 (SSH2) host authentication.
As the DSA public key encryption system or the RSA public key encryption system is
used for SSH host authentication, specify either of the public key.
If the host authentication public key needs to be set in the ssh client or sftp client in
advance, set the information displayed by this command.
If all of the SSH-related functions are disabled by the "serverinfo ssh" and "serverinfo
sftp" commands, the SSH host authentication public key is not created. Therefore,
nothing is displayed.
However, if those functions are enabled and then disabled, a public key for SSH host
authentication is created and displayed.
513
SSH Counter, Log, Statistics, and Status Display Commands
Chapter 5 Command Reference