beautypg.com

1 show ssh server key – FUJITSU XG Series P3NK-4452-01ENZD User Manual

Page 497

background image

XG Series User's Guide

Chapter 5 Command Reference

SSH Counter, Log, Statistics, and Status Display Commands

497

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

Display the public key for SSH host authentication.

Available Model

XG0224 / XG0448 / XG2600

Syntax

show ssh server key {dsa|rsa}

Options

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.

Use Mode

Operation mode (user class/admin class)
Configuration mode (admin class)

Explanation

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.

Caution

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.