2184 CHAPTER 142: SSH2.0 CONFIGURATION COMMANDS

---- BEGIN SSH2 PUBLIC KEY ----

Comment: "dsa-key-20061025" AAAAB3NzaC1kc3MAAACBANdXJixFhMRMIR8YvZbl8GHE8KQj9/5ra4WzTO9yzhSg06Ui L+CM7OZb5sJlhUiJ3B7b0T7IsnTan3W6Jsy5h3I2Anh+kiuoRCHyLDyJy5sG/WD+AZQd 3Xf+axKJPadu68HRKNl/BnjXcitTQchQbzWCFLFqL6xLNolQOHgRx9ozAAAAFQDHcyGM c37I7pk7Ty3tMPSO2s6RXwAAAIEAgiaQCeFOxHS68pMuadOx8YUXrZWUGEzN/OrpbsTV 75MTPoS0cJPFKyDNNdAkkrOVnsZJliW8T6UILiLFs3ThbdABMs5xsCAhcJGscXthI5HH bB+y6IMXwb2BcdQey4PiEMA8ybMugQVhwhYhxz1tqsAo9LFYXaf0JRlxjMmwnu8AAACB AMoAntnKNEUhJUyMhEr0bji4MelDmsZyDaadRG7UONHs6gN/0aLYE/ptjKQvesXdKbv+ FDnLq5C91bsBxXS3C1CEtF8ifxm60kUQz7T3R0+r5xEjRaFrwdxxTk9Vwpvzm1SPJa9V 8W4A0dt3xksktTU51303szQVrD1cMMYZ5YAU

---- END SSH2 PUBLIC KEY ----

# Display the DSA local public key in OpenSSH format.

<Sysname> system-view

[Sysname] public-key local export dsa openssh

ssh-dss AAAAB3NzaC1kc3MAAACBANdXJixFhMRMIR8YvZbl8GHE8KQj9/5ra4WzTO9y zhSg06UiL+CM7OZb5sJlhUiJ3B7b0T7IsnTan3W6Jsy5h3I2Anh+kiuoRCHyLDyJy5sG /WD+AZQd3Xf+axKJPadu68HRKNl/BnjXcitTQchQbzWCFLFqL6xLNolQOHgRx9ozAAAA FQDHcyGMc37I7pk7Ty3tMPSO2s6RXwAAAIEAgiaQCeFOxHS68pMuadOx8YUXrZWUGEzN /OrpbsTV75MTPoS0cJPFKyDNNdAkkrOVnsZJliW8T6UILiLFs3ThbdABMs5xsCAhcJGs cXthI5HHbB+y6IMXwb2BcdQey4PiEMA8ybMugQVhwhYhxz1tqsAo9LFYXaf0JRlxjMmw nu8AAACBAMoAntnKNEUhJUyMhEr0bji4MelDmsZyDaadRG7UONHs6gN/0aLYE/ptjKQv esXdKbv+FDnLq5C91bsBxXS3C1CEtF8ifxm60kUQz7T3R0+r5xEjRaFrwdxxTk9Vwpvz m1SPJa9V8W4A0dt3xksktTU51303szQVrD1cMMYZ5YAU dsa-key

public-key peer

Syntax public-key peer keyname

undo public-key peer keyname

View System view

Parameter keyname: Public key name, a string of 1 to 64 characters.

Description Use the public-key peer command to enter public key view.

Use the undo public-key peer command to delete the configuration of peer public key.

After entering public key view, you can configure the peer public key with the public-key-code begin and public-key-code end commands. This requires that you obtain the hexadecimal public key from the peer beforehand.

Related command: public-key-code begin, public-key-code end.

Example # Enter public key view, specifying a public key key1.

<Sysname> system-view

[Sysname] public-key peer key1

[Sysname-pkey-public-key]

Page 2184
Image 2184
3Com MSR 30, MSR 50 manual Public-key peer, # Display the DSA local public key in OpenSSH format