MES1000, MES2000 Ethernet Switches
149
key-string row
key_string
Create the public key for the specific user. Key is entered one line at a time.
- key_string—key part
To notify the system, that the key entry is completed, enter key-string row
command without symbols.
EXEC mode commands
Commands from this section are available to the privileged users only.
Command line request in EXEC mode appears as follows:
console#
Table 5.164 —EXEC mode commands
Command
Value
Action
show ip ssh
-
Show SSH server configuration and the active incoming SSH
sessions.
show crypto key pubkey-
chain ssh
[
username
username
] [
fingerprint
{
bubble-babble
|
hex}
]
(1..48) characters
Key fingerprint is in hex
format by default.
Show public SSH keys saved in the switch.
-
username
—remote client name
-
bubble-babble
—key fingerprint in Bubble Babble code
-
hex
—key fingerprint in hex format
show crypto key mypubkey
[
rsa
|
dsa
]
-
Show SSH switch public keys.
show crypto certificate
mycertificate [1|2]
-
Show HTTPS server SSL certificates
show ip http
-
Show HTTP server state
show ip https
-
Show HTTPS server state
Example execution of commands
Enable SSH server on the switch. Enable public key utilization. Create RSA key for
eltex
user:
console#
configure
console(config)#
ip ssh server
console(config)#
ip ssh pubkey-auth
console(config)#
crypto key pubkey-chain ssh
console(config-pubkey-chain)#
user-key
eltex
rsa
console(config-pubkey-key)#
key-string
AAAAB3NzaC1yc2EAAAADAQABAAABAQCvTnRwPWlAl4kpqIw9GBRonZQZxjHKcqZNXf
QusIZ/76ILmFT34v7Vu4GRfpSwoQUvV35LqJJk67IOU/zfwOl1gkTwml75Q
R9gHujS6KwGN2QWXgh3ub8gDjTSqmuSn/Wd05iDX2IExQWu08licglkZ4TrEU/9FJx
wKBXuR0juNg5nFYsY0ZCk0N/W9a/tnkm1shw3fNiOA6AINEICB
CCA4YcF6zMzaT1wRmt5nhhqdAtN/4oJfce166DqVX1gWmNzNR4DYDvSzg0lDnwCAC8
Qh
Fingerprint: a4:16:46:23:5a:8d:1d:b5:37:59:eb:44:13:b9:33:e9
5.19.7.2
Terminal configuration commands
Terminal configuration commands are used for the local and remote console configuration.
Global configuration mode commands
Command line request in global configuration mode appears as follows:
console(config)#