1-13.................++++++++.....++++++++.......# Display the host public key in the OpenSSH format.[Sysname]public-key local export rsa opensshssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgMSPi+xIkHkAo6E9LwLKWN+eN9EqW/6FIYEIlVKcpIa06IT4eSyq4OldeiZ9WorOiDqX3ROo4FmaTR/QCSK3C9whE1qz/4soVL1eHDdgzQCumKKsJCVaM5OdZ2sdNbEnhLucs8ZrfTgEkDB1hmbgzuDpWPokPfkQDD+8dC+hkFVV rsa-key# Export the host public key in the format of OpenSSH and save the public key file as pub_ssh_file2.[Sysname] public-key local export rsa openssh pub_ssh_file2# Export the host public key in the format of SSH1 and save the public key file as pub_ssh_file3.[Sysname] public-key local export rsa ssh1 pub_ssh_file3public-key peerSyntaxpublic-key peer keynameundo public-key peer keynameViewSystem viewParameterskeyname: Name of the public key, a string of 1 to 64 characters.DescriptionUse 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 configuring this command, you enter public key view. You can use this command together with thepublic-key-code begin command to configure the peer public key. This public key configurationmethod requires that you obtain the public key in hexadecimal format in advance.Only the public key whose module is of 512 to 2,048 bits can be configured on the device currently.Related commands: public-key-code begin, public-key-code end.Examples# Enter public key viewsystem-viewSystem View: return to User View with Ctrl+Z.[Sysname]public-key peer pub.ppk