H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – SSH Terminal Service
H3C S7500 Series Ethernet Switches
Chapter 1 SSH Terminal Service
Configuration Commands
1-21
Description
Use the quit command to terminate the connection to the remote SSH server.
Examples
# Terminate the connection to the remote SSH server.
<H3C> quit
1.2.5 rsa peer-public-key
Syntax
rsa peer-public-key key-name
undo rsa peer-public-key key-name
View
System view
Parameters
key-name: Server public key name, a string of 1 to 64 characters.
Description
Use the rsa peer-public-key command to enter public key view.
Use the undo rsa peer-public-key key-name command to remove the configured
server public key.
You can use the rsa peer-public-key command and then the public-key-code begin
command to enter public key code view and configure on the client the server public
keys, which are generated randomly after you use the rsa local-key-pair create
command.
Related commands: public-key-code begin, public-key-code end, rsa
local-key-pair create.
Examples
# Enter H3C002 public key view.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] rsa peer-public-key H3C002
[H3C-rsa-public-key]