Command Manual ( For Soliton ) – SSHH3C S3100 Series Ethernet Switches Chapter 1 SSH Commands1-16# Display the host public key in the OpenSSH format.[Sysname]public-key local export rsa opensshssh-rsaAAAAB3NzaC1yc2EAAAADAQABAAAAgMSPi+xIkHkAo6E9LwLKWN+eN9EqW/6FIYEIlVKcpIa06IT4eSyq4OldeiZ9WorOiDqX3ROo4FmaTR/QCSK3C9whE1qz/4soVL1eHDdgzQCumKKsJCVaM5OdZ2sdNbEnhLucs8ZrfTgEkDB1hmbgzuDpWPokPfkQDD+8dC+hkFVV rsa-key# Export the host public key of the RSA key pair in the format of OpenSSH and save thepublic key file as pub_ssh_file2.[Sysname] public-key local export rsa openssh pub_ssh_file2# Export the host public key of the RSA key pair in the format of SSH1 and save thepublic key file as pub_ssh_file3.[Sysname] public-key local export rsa ssh1 pub_ssh_file31.1.13 public-key local export dsaSyntaxpublic-key local export dsa { openssh | ssh2 } [ filename ]ViewSystem viewParametersdsa: Specifies the public key of the current switch’s DSA key pair.openssh: Uses the format of OpenSSH.ssh2: Uses the format of SSH2.filename: Name of the file for saving the public key, a string of 1 to 142 characters. Forfile naming rules, refer to File System Management Command.DescriptionUse the public-key local export dsa command to display the public key of the currentswitch’s DSA key pair on the screen or export it to a specified file.If you specify a filename, the public key will be exported to the file and the file will besaved. If you do not specify any filename, the public key will be displayed on the screen.