Display Ssh Server-Info - HP 5120 SI series Command Reference Manual

Hide thumbs Also See for 5120 SI series:
Table of Contents

Advertisement

Description
Use the display ssh client source command to display the source IP address or source interface currently
set for the SSH client.
If neither source IP address nor source interface is specified for the SSH client, the system will display such
a message "Neither source IP address nor source interface was specified for the Stelnet client."
Related commands: ssh client source.
Examples
# Display the source IP address or source interface of the SSH client.
<Sysname> display ssh client source
The source IP address you specified is 192.168.0.1

display ssh server-info

Syntax
display ssh server-info [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, which is a case-sensitive string of 1 to 256 characters.
Description
Use the display ssh server-info command on a client to display mappings between SSH servers and their
host public keys saved on the client.
When an SSH client needs to authenticate the SSH server, it uses the locally saved public key of the
server for the authentication. If the authentication fails, use this command to check the public key of the
server saved on the client.
Related commands: ssh client authentication server.
NOTE:
This command is also available on an SFTP client.
Examples
# Display the mappings between host public keys and SSH servers saved on the client.
<Sysname> display ssh server-info
Server Name(IP)
______________________________________________________
Server public key name
247

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents