Installation manual

Command Manual - System Management
Quidway S3000-EI Series Ethernet Switches Chapter 8 SSH Configuration Commands
Huawei Technologies Proprietary
8-7
Example
# Disable Telnet on vty0 through vty4, only SSH available.
[Quidway] user-interface vty 0 4
[Quidway-ui-vty0-4] protocol inbound ssh
# Disable Telnet on vty0, only SSH available.
[Quidway] user-interface vty 0
[Quidway-ui-vty0] protocol inbound ssh
8.1.9 public-key-code begin
Command
public-key-code begin
View
RSA key code view
Parameter
None
Description
Using the public-key-code begin command, you can enter RSA key code view.
Before using this command, you have to create a public key with the rsa
peer-public-key command. In the RSA key code view, you can key in desired public
key, which consists of hexadecimal characters, with blank space allowed between them,
and is generated randomly by the client program supporting SSH.
For the related commands, see rsa peer-public-key, public-key-code end.
Example
# Enter RSA public key view and key in public key.
[Quidway] rsa peer-public-key quidway003
[Quidway-rsa-public-key] public-key-code begin
[Quidway-rsa-key-code] 308186028180739A291ABDA704F5D93DC8FDF84C427463
[Quidway-rsa-key-code] 1991C164B0DF178C55FA833591C7D47D5381D09CE82913
[Quidway-rsa-key-code] D7EDF9C08511D83CA4ED2B30B809808EB0D1F52D045DE4
[Quidway-rsa-key-code] 0861B74A0E135523CCD74CAC61F8E58C452B2F3F2DA0DC
[Quidway-rsa-key-code] C48E3306367FE187BDD944018B3B69F3CBB0A573202C16
[Quidway-rsa-key-code] BB2FC1ACF3EC8F828D55A36F1CDDC4BB45504F020125
[Quidway-rsa-key-code] public-key-code end