Before using this command, run the rsa peer-public-key command to specify one key name.
After accessing the public key edit view by running the public-key-code begin command, set the public key. Spaces and carriage returns are supported.
The public key configured must be a hexadecimal character string coded in the public key format. It is randomly generated by the client software supporting SSH.
# Access the public key edit view and enter the key.
<sysname> system-view [sysname] rsa peer-public-key testing Enter "RSA public key" view, return system view with "peer-public-key end". [sysname-rsa-public-key] public-key-code begin Enter "RSA key code" view, return last view with "public-key-code end". [sysname-rsa-key-code] 308186028180739A291ABDA704F5D93DC8FDF84C427463 [sysname-rsa-key-code] 1991C164B0DF178C55FA833591C7D47D5381D09CE82913 [sysname-rsa-key-code] D7EDF9C08511D83CA4ED2B30B809808EB0D1F52D045DE4 [sysname-rsa-key-code] 0861B74A0E135523CCD74CAC61F8E58C452B2F3F2DA0DC [sysname-rsa-key-code] C48E3306367FE187BDD944018B3B69F3CBB0A573202C16 [sysname-rsa-key-code] BB2FC1ACF3EC8F828D55A36F1CDDC4BB45504F020125 [sysname-rsa-key-code] public-key-code end [sysname-rsa-public-key]