Alcatel-Lucent ls 6248 User Guide

Page of 762
SSH Commands
587
4
Command Usage
Use the 
key-string
 SSH Public Key-string Configuration mode command to 
specify which SSH public key is to be interactively configured next. To 
complete the command, you must enter a row with no characters.
Use the 
key-string row
 SSH Public Key-string Configuration mode command 
to specify the SSH public key row by row. Each row must begin with a 
key-string row
 command. This command is useful for configuration files.
Example
The following example enters public key strings for SSH public key client 
bob
.
Related Commands
show ip ssh
The 
show ip ssh 
Privileged EXEC mode command displays the SSH server 
configuration.
Syntax
show ip ssh
Console(config)# 
crypto key pubkey-chain ssh
Console(config-pubkey-chain)# 
user-key
 bob 
rsa
Console(config-pubkey-key)# 
key-string
AAAAB3NzaC1yc2EAAAADAQABAAABAQCvTnRwPWl
Al4kpqIw9GBRonZQZxjHKcqKL6rMlQ+
ZNXfZSkvHG+QusIZ/76ILmFT34v7u7ChFAE+
Vu4GRfpSwoQUvV35LqJJk67IOU/zfwOl1g
kTwml75QR9gHujS6KwGN2QWXgh3ub8gDjTSq
muSn/Wd05iDX2IExQWu08licglk02LYciz
+Z4TrEU/9FJxwPiVQOjc+KBXuR0juNg5nFYsY
0ZCk0N/W9a/tnkm1shRE7Di71+w3fNiOA
6w9o44t6+AINEICBCCA4YcF6zMzaT1wefWwX6f+
Rmt5nhhqdAtN/4oJfce166DqVX1gWmN
zNR4DYDvSzg0lDnwCAC8Qh
Fingerprint: a4:16:46:23:5a:8d:1d:b5:37:59:eb:44:13:b9:33:e9
Console(config)# 
crypto key pubkey-chain ssh
Console(config-pubkey-chain)# 
user-key 
bob 
rsa
Console(config-pubkey-key)# 
key-string row
 AAAAB3Nza
Console(config-pubkey-key)# 
key-string row
 C1yc2