security ssh remove
Remove SSH configuration options
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
The ` security ssh remove` command removes the specified SSH key exchange algorithms or ciphers from the existing configurations of the cluster or a Vserver. The removed algorithms or ciphers are disabled on the cluster or Vserver. If you changed the cluster configuration settings, it will be used as the default for all newly created Vservers. If the SSH key exchange algorithms or ciphers that you specify with this command are not currently enabled, the command does not fail. Data ONTAP supports the
diffie-hellman-group-exchange-sha256 key exchange algorithm for SHA-2. Data ONTAP also supports the
diffie-hellman-group14-sha1 , and
diffie-hellman-group1-sha1 SSH key exchange algorithms for SHA-1. The SHA-2 key exchange algorithm is more secure than the SHA-1 key exchange algorithms. Data ONTAP also supports
ecdh-sha2-nistp521 , and
curve25519-sha256 . Data ONTAP also supports the AES and 3DES symmetric encryption (also known as ciphers) of the following types:
3des-cbc . Data ONTAP supports MAC algorithms of the following types:
umac-64-etm , and
-vserver <Vserver Name>- Vserver
Identifies the Vserver from which you want to remove the SSH key exchange algorithms or ciphers.
[-key-exchange-algorithms <algorithm name>,…]- List of SSH Key Exchange Algorithms to Remove
Removes the specified key exchange algorithm or algorithms from the Vserver.
[-ciphers <cipher name>,…]- List of SSH Ciphers to Remove
Removes the specified cipher or ciphers from the Vserver.
[-mac-algorithms <MAC name>,…]- List of SSH MAC algorithms to Remove
Removes the specified MAC algorithm or algorithms from the Vserver.
The following command removes the
diffie-hellman-group-exchange-sha1 key exchange algorithms from the cluster1 Vserver. It also removes the
3des-cbc ciphers and the
hmac-sha2-256 MAC algorithms from the cluster1 Vserver.
cluster1::> security ssh remove -vserver cluster1 -key-exchange-algorithms diffie-hellman-group1-sha1,diffie-hellman-group-exchange-sha1 -ciphers aes128-cbc,3des-cbc -mac-algorithms hmac-sha1-96,hmac-sha2-256