Display Ssh Server-Info; Exit - HPE FlexNetwork HSR6800 Security Command Reference

Hide thumbs Also See for FlexNetwork HSR6800:
Table of Contents

Advertisement

display ssh server-info

Use display ssh server-info on a client to display mappings between SSH servers and their host
public keys on an SSH client.
Syntax
display ssh server-info [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see 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, a case-sensitive string of 1 to 256 characters.
Usage guidelines
This command is also available on an SFTP 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, you can use this command to examine the
public key of the server saved on the client.
Examples
# Display the mappings between SSH servers and their host public keys on the client.
<Sysname> display ssh server-info
Server Name(IP)
______________________________________________________
192.168.0.1
192.168.0.2
Table 54 Command output
Field
Server Name(IP)
Server public key name
Related commands
ssh client authentication server

exit

Use exit to terminate the connection with the remote SFTP server and return to user view.
Syntax
exit
Server public key name
abc_key01
abc_key02
Description
Name or IP address of the server.
Name of the host public key of the server.
342

Advertisement

Table of Contents
loading

Table of Contents