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. Valid Values: 256 (default), 384, 512 NOTE This option requires Luna Appliance Software 7.8.4 or newer. |
NOTE Only the -curvesize option is provided with this command; -keysize is not, since RSA keypairs are not permitted for SSH connections.
Example
lunash:> sysconf 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)