950
C
HAPTER
56: SSH T
ERMINAL
S
ERVICE
C
ONFIGURATION
C
OMMANDS
Description
Use the
public-key-code end
command to return from the public key edit view
to the public key view and save the public key entered.
After this command is performed to end the public key edit procedure, the system
will check the validity of the key before saving the input public key. If the public
key string contains any illegal character, the system will prompt the failure of the
configuration and the configured key will be discarded; otherwise, the key is valid
and will be saved to the user public keys in the system.
Related command:
rsa peer-public-key
,
public-key-code begin
.
Example
# Exit the public key edit view and save the configured public key.
<SW8800> system-view
System View: return to User View with Ctrl+Z.
[SW8800] rsa peer-public-key sw8800003
[3Com-rsa-public-key] public-key-code begin
RSA key code view: return to last view with "public-key-code end".
[3Com-rsa-key-code] public-key-code end
[3Com-rsa-public-key]
rsa local-key-pair create
Syntax
rsa local-key-pair create
View
System view
Parameter
None
Description
Use the
rsa local-key-pair create
command to generate the RSA key pair
(including the host key and server key) of the server. The naming conventions for
the keys are
switch name + host
and
switch name + server
respectively, for
example, 3Com_host, 3Com_server.
When configuring by this command, if the RSA key pair already exists, you will get
a warning asking if you want to replace the existing one. Note that the host key
and the server key must have a difference of 128 bits at least, and that the
minimum and maximum lengths for the host key and the server key are 512 bits
and 2048 bits .
Generating the RSA key pair of the server is the first step to perform after SSH
login. It needs to be performed only once; you need not re-perform it after
rebooting the switch.
c
CAUTION:
When you log in through SSH user, the key generated by the server
must be longer than 768 bits. The RSA key genetated by the server is 1,024 bits by
default.
Related command:
rsa local-key-pair destroy
.
Содержание Switch 8807
Страница 30: ......
Страница 68: ...66 CHAPTER 2 COMMANDS USED TO LOG IN TO SWITCH ...
Страница 78: ...76 CHAPTER 3 CONFIGURATION FILE MANAGEMENT COMMANDS ...
Страница 96: ...94 CHAPTER 5 SUPER VLAN CONFIGURATION COMMANDS ...
Страница 122: ...120 CHAPTER 8 IP PERFORMANCE CONFIGURATION COMMANDS ...
Страница 130: ...128 CHAPTER 9 GARP GVRP CONFIGURATION COMMANDS ...
Страница 162: ...160 CHAPTER 11 ETHERNET LINK AGGREGATION CONFIGURATION COMMANDS ...
Страница 212: ...210 CHAPTER 13 MSTP CONFIGURATION COMMANDS ...
Страница 234: ...232 CHAPTER 16 ACL COMMANDS ...
Страница 282: ...280 CHAPTER 18 ACL CONTROL COMMANDS TO CONTROL LOGIN USERS ...
Страница 293: ......
Страница 294: ...292 CHAPTER 19 VLAN ACL CONFIGURATION COMMANDS ...
Страница 310: ...308 CHAPTER 20 802 1X CONFIGURATION COMMANDS ...
Страница 370: ...368 CHAPTER 21 AAA AND RADIUS HWTACACS PROTOCOL CONFIGURATION COMMANDS ...
Страница 398: ...396 CHAPTER 23 STATIC ROUTE CONFIGURATION COMMANDS ...
Страница 462: ...460 CHAPTER 25 OSPF CONFIGURATION COMMANDS ...
Страница 498: ...496 CHAPTER 26 INTEGRATED IS IS CONFIGURATION COMMANDS ...
Страница 548: ...546 CHAPTER 27 BGP CONFIGURATION COMMANDS ...
Страница 570: ...568 CHAPTER 30 RECURSIVE ROUTING CONFIGURATION ...
Страница 584: ...582 CHAPTER 32 MULTICAST VLAN CONFIGURATION COMMANDS ...
Страница 600: ...598 CHAPTER 33 MULTICAST COMMON CONFIGURATION COMMANDS ...
Страница 604: ...602 CHAPTER 34 STATIC MULTICAST MAC ADDRESS CONFIGURATION COMMAND ...
Страница 656: ...654 CHAPTER 37 MSDP CONFIGURATION COMMANDS ...
Страница 682: ...680 CHAPTER 38 MBGP MULTICAST EXTENSION CONFIGURATION COMMANDS ...
Страница 762: ...760 CHAPTER 40 BGP MPLS VPN CONFIGURATION COMMANDS ...
Страница 807: ...HA Configuration Commands 805 Example Configure the system Xbar load mode SW8800 xbar load balance ...
Страница 808: ...806 CHAPTER 44 HA CONFIGURATION COMMANDS_HA_CONFIGURATION ...
Страница 820: ...818 CHAPTER 45 ARP CONFIGURATION COMMANDS ...
Страница 824: ...822 CHAPTER 46 ARP TABLE SIZE CONFIGURATION COMMANDS max arp entry config of slot 13 8192 ...
Страница 862: ...860 CHAPTER 47 DHCP CONFIGURATION COMMANDS ...
Страница 870: ...868 CHAPTER 48 DNS CONFIGURATION COMMANDS ...
Страница 972: ...970 CHAPTER 56 SSH TERMINAL SERVICE CONFIGURATION COMMANDS ...
Страница 982: ...980 CHAPTER 57 FILE SYSTEM MANAGEMENT COMMANDS ...
Страница 1026: ...1024 CHAPTER 60 INFORMATION CENTER ...
Страница 1046: ...1044 CHAPTER 63 PORT PACKET STATISTICS COMMANDS ...
Страница 1051: ...Ethernet Port Detection Configuration Commands 1049 ...
Страница 1052: ...1050 CHAPTER 64 PORT LOOPBACK DETECTION COMMANDS ...
Страница 1053: ...Ethernet Port Detection Configuration Commands 1051 ...
Страница 1054: ...1052 CHAPTER 64 PORT LOOPBACK DETECTION COMMANDS ...
Страница 1055: ......
Страница 1056: ...1054 CHAPTER 64 PORT LOOPBACK DETECTION COMMANDS ...
Страница 1057: ......
Страница 1058: ...1056 CHAPTER 64 PORT LOOPBACK DETECTION COMMANDS ...
Страница 1059: ...Ethernet Port Detection Configuration Commands 1057 ...
Страница 1060: ...1058 CHAPTER 64 PORT LOOPBACK DETECTION COMMANDS ...
Страница 1061: ......
Страница 1062: ...1060 CHAPTER 64 PORT LOOPBACK DETECTION COMMANDS ...
Страница 1063: ...Ethernet Port Detection Configuration Commands 1061 ...
Страница 1064: ...1062 CHAPTER 64 PORT LOOPBACK DETECTION COMMANDS ...
Страница 1065: ......
Страница 1066: ...1064 CHAPTER 64 PORT LOOPBACK DETECTION COMMANDS ...
Страница 1090: ...1088 CHAPTER 66 NQA CONFIGURATION COMMANDS ...