ssh server algorithm encryption

Use this command to configure Cipher algorithms.

Use no parameter to remove the Cipher algorithms.

Command Syntax

Copy
ssh server algorithm encryption CIPHER_NAME vrf (|management|NAME)
no ssh server algorithm encryption

Parameters

CIPHER_NAME

Specifies the SSH encryption type as Cipher exchange.
3des-cbc
aes128-cbc
aes192-cbc
aes256-cbc
rijndael-cbc
aes128-ctr
aes192-ctr
aes256-ctr
aes128-gcm
aes256-gcm
chacha20-poly1305

vrf management

Defines the management VRFClosed Virtual Routing and Forwarding instance.

vrf NAME

Specify the user-defined VRF instance name.

Default

Refer to ssh server default algorithm .

Command Mode

Configure mode

Applicability

Introduced in OcNOS version 6.5.3.

Example

To configure the specific encryption algorithm, execute the following command.

Copy
OcNOS(config)#ssh server algorithm encryption chacha20-poly1305
OcNOS(config)#ssh server algorithm encryption chacha20-poly1305 vrf management
OcNOS(config)#commit

To configure the multiple encryption algorithms, execute the following command.

Copy
OcNOS(config)#ssh server algorithm encryption 3des-cbc rijndael-cbc aes256-cbc aes128-gcm
OcNOS(config)#ssh server algorithm encryption 3des-cbc rijndael-cbc aes256-cbc aes128-gcm vrf management
OcNOS(config)#commit

To unconfigure the multiple encryption algorithms, execute the following command.

Copy
OcNOS(config)#no ssh server algorithm encryption 3des-cbc rijndael-cbc aes256-cbc aes128-gcm
OcNOS(config)#no ssh server algorithm encryption 3des-cbc rijndael-cbc aes256-cbc aes128-gcm vrf management
OcNOS(config)#commit