An authentication key must be generated before the switch can accept incoming SSH2 sessions. This can be done automatically by the switch, or you can enter a previously generated key.
The key generation process can take up to one minute.
For the switch to use the newly generated key, the exsshd process needs to be restarted using the restart process [class cname | name {msm slot}] command with "exsshd" for name.
Note
The pregenerated key must be one that was generated by the switch. To get such a key, you can use the command show ssh2 private-key to display the key on the console. Copy the key to a text editor and remove the carriage return/line feeds. Finally, copy and paste the key into the command line. The key must be entered as one line.