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
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
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
AAAAB3NzaC1yc2EAAAADAQABAAABAQCvTnRwPWlAl4kpqIw9GBRonZQZxjHKcqKL6rMlQ+ZNXf
ZSkvHG+QusIZ/76ILmFT34v7u7ChFAE+Vu4GRfpSwoQUvV35LqJJk67IOU/zfwOl1gkTwml75Q
R9gHujS6KwGN2QWXgh3ub8gDjTSqmuSn/Wd05iDX2IExQWu08licglk02LYciz+Z4TrEU/9FJx
wPiVQOjc+KBXuR0juNg5nFYsY0ZCk0N/W9a/tnkm1shRE7Di71+w3fNiOA6w9o44t6+AINEICB
CCA4YcF6zMzaT1wefWwX6f+Rmt5nhhqdAtN/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)#