sysconf ssh regenKeyPair

Regenerate the SSH key pair.

User Privileges

Users with the following privileges can perform this command:

>Admin

>Operator

Syntax

sysconf ssh regenKeyPair [-curvesize <curvesize>]

Argument(s) Shortcut Description
-curvesize -c Elliptic Curve size:options are 256,384,512 ( default is 256)

NOTE   Only the -curvesize option is provided with this command; -keysize is not, since RSA keypairs are not permitted for SSH connections.

Example: Luna Appliance Software 7.8.4 and newer

lunashsysconf ssh regenKeyPair -curvesize 384


WARNING !!  This command regenerates SSH keypair. 
WARNING !!  SSH will be restarted.

If you are sure that you wish to proceed, then type 'proceed', otherwise type 'quit'.  
> proceed 

Proceeding...   
Stopping sshd:                                             [  OK  ] 


Starting sshd:                                                [  OK  ]
Command Result : 0 (Success)  

Example: Luna Appliance Software 7.8.3 and older

lunash:>sysconf ssh regenKeyPair

WARNING !!  This command regenerates SSH keypair. 
WARNING !! SSH will be restarted. If you are sure that you wish to proceed, then type 'proceed', otherwise type 'quit'. > proceed Proceeding... Stopping sshd:    [ OK ]  Generating SSH1 RSA host key:  [ OK ]  Generating SSH2 RSA host key: [ OK ]  Generating SSH2 DSA host key:  [ OK ]  Starting sshd:  [ OK ] Command Result : 0 (Success)