Alcatel-Lucent ls 6248 User Guide

Page of 762
SSH Commands
583
4
Command Mode
Global Configuration mode
Command Usage
RSA keys are generated in pairs: one public RSA key and one private RSA 
key. If the device already has RSA keys, a warning and prompt to replace the 
existing keys with new keys are displayed.
This command is not saved in the device configuration; however, the keys 
generated by this command are saved in the private configuration which is 
never displayed to the user or backed up on another device. 
RSA keys are saved to the backup master.
This command may take a considerable period of time to execute.
Example
The following example generates RSA key pairs.
Related Commands
ip ssh pubkey-auth
The 
ip ssh pubkey-auth
 Global Configuration mode command enables public key 
authentication for incoming SSH sessions. To disable this function, use the 
no
 form 
of this command.
Syntax
ip ssh pubkey-auth
no ip ssh pubkey-auth
Default Setting 
Public Key authentication fo incoming SSH sessions is disabled.
Command Mode
Global Configuration mode
Command Usage 
AAA authentication is independent
Console(config)# crypto key generate rsa