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-20
1.2.3 public-key-code end
Syntax
public-key-code end
View
Public key code view
Parameters
None
Description
Use the public-key-code end command to return from public key code view to public
key view and save the public keys you set.
After you use this command to terminate the public key coding, public key validity will
be checked before the keys are saved.
z If there are illegal characters in the keys, the prompt will be given and the keys will
be discarded. Your configuration this time fails.
z If the keys are valid, they will be saved in the local public key list.
Related commands: rsa peer-public-key, public-key-code begin.
Examples
# Exit from public key code view and save the public keys.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] rsa peer-public-key H3C003
[H3C-rsa-public-key] public-key-code begin
[H3C-rsa-key-code] public-key-code end
[H3C-rsa-public-key]
1.2.4 quit
Syntax
quit
View
User view
Parameters
None