The chnaskey command provides an interface to set or reset the Secure Shell (SSH) private and public key credential pair used by communications between the Storwize V7000 for Lenovo file modi and the control enclosure over the site 1 Gbps Ethernet LAN. This is required during the USB initialization of the system.
One of the file modules then takes the private key from the USB flash drive memory to use for SSH. The file module passes it to the other file module over the direct connect Ethernet link and then deletes the private key from the USB flash drive memory so that it cannot be used on the wrong system.
pubkeyfile provides an existing public keyfile in use. This does not generate anything, but replaces the currently used public key with another public key. The private key file on the file modules is use it to generate the original public key file when it is set on the system.
privkeyfile generates the public and private key pair, and sets the public key on the system. It also provides the private key for installation on the file modules (in the /dumps directory or on the USB stick depending on what was used).
Reset the NAS SSH key so that communications between the file modules and the Storwize V7000 for Lenovo control enclosure resume: