Public-Key-Code End - HP 5120 SI series Command Reference Manual

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

Advertisement

Do not configure an RSA server public key of the remote host for identity authentication in SSH
applications. Authentication in SSH applications uses the RSA host public key. For more information
about SSH, see the chapter "SSH2.0 configuration."
Related commands: public-key peer and public-key-code end.
Examples
# Enter public key code view and input the key.
<Sysname> system-view
[Sysname] public-key peer key1
[Sysname-pkey-public-key] public-key-code begin
[Sysname-pkey-key-code]30819F300D06092A864886F70D010101050003818D0030818902818100C0EC
8014F82515F6335A0A
[Sysname-pkey-key-code]EF8F999C01EC94E5760A079BD73E4F4D97F3500EDB308C29481B77E719D164
3135877E13B1C531B4
[Sysname-pkey-key-code]FF1877A5E2E7B1FA4710DB0744F66F6600EEFE166F1B854E2371D5B952ADF6
B80EB5F52698FCF3D6
[Sysname-pkey-key-code]1F0C2EAAD9813ECB16C5C7DC09812D4EE3E9A0B074276FFD4AF2050BD4A9B1
DDE675AC30CB020301
[Sysname-pkey-key-code]0001

public-key-code end

Syntax
public-key-code end
View
Public key code view
Default level
2: System level
Parameters
None
Description
Use the public-key-code end command to return from public key code view to public key view and to
save the configured public key.
The system verifies the key before saving it. If the key is not in the correct format, the system discards the
key and displays an error message. If the key is valid, the system saves the key.
Related commands: public-key peer and public-key-code begin.
Examples
# Exit public key code view and save the configured public key.
<Sysname> system-view
[Sysname] public-key peer key1
[Sysname-pkey-public-key] public-key-code begin
[Sysname-pkey-key-code]30819F300D06092A864886F70D010101050003818D0030818902818100C0EC
8014F82515F6335A0A
[Sysname-pkey-key-code]EF8F999C01EC94E5760A079BD73E4F4D97F3500EDB308C29481B77E719D164
3135877E13B1C531B4
207

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents