Home >

LunaSH Command Reference Guide > LunaSH Commands > sysconf > sysconf ssh regenkeypair

sysconf ssh regenkeypair

Regenerate the SSH key pair.

Syntax

sysconf ssh regenkeypair

Example

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)