R3303-HP HSR6800 Routers Security Command Reference

360
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) Server public key name
______________________________________________________
192.168.0.1 abc_key01
192.168.0.2 abc_key02
Table 54 Command output
Field Description
Server Name(IP) Name or IP address of the server.
Server public key name Name of the host public key of the server.
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
Views
SFTP client view
Default command level
3: Manage level
Usage guidelines
This command functions as the bye and quit commands.
Examples
# Terminate the connection with the SFTP server.
sftp-client> exit
Bye
Connection closed.
<Sysname>
get
Use get to download a file from the SFTP server and save it locally.