When using SSH to communicate with InCenter, an SSH server internal to InCenter is being used. The server host key used is a 2048 bit RSA key and is automatically generated during initial system startup. This SSH server can be managed using the sshserver command.
Viewing SSH Server Status and the Current Key
Using the -showkey option with the sshserver command will display both the current status of the SSH server and the current key:admin@InCenter:/> sshserver -showkey
SSH server status: running
Public Key:
AAAAB3NzaC1yc2EAAAADAQABAAABAQC5MhkCyKhqOABUcwFqVJIICZPlpJtRuP4
onxOMw/PmkrImJBbJhtZqmm4u81IybUs9lowa3dsE0v4BCBWAiAPV9CCgr7FwGM
zsUUFGy1+b0EiU/n2k9GCCQBCUVkCPNKz/IFdUBiMpxZbGCVvbeSd9pyFOc/lHc
9IBEn624eObmi1RCp16U+17P7C7xI6z1hVYMIjrEcWf7e7XGGhS/4NqgZPwFAhS
pmXdEjMislMpHXrGCet7PiqnBpOZ6UFpqxsaAxmcjDxxUvK67jVH
Fingerprint: SHA256:fyXp7IIhqLqZukeJ9oXXAlaJD1oRFVLtzA16Qhd+RPI
Using the -keygen option with the sshserver command
will generate a new key for the server. The system will prompt
the administrator to check that the action should be completed:
admin@InCenter:/> sshserver -keygen This action will generate a new host key to the ssh server. For this to take effect the ssh server needs to be restarted and your current ssh session will end Do you want to continue? [yes/no]: y