S300, S500, S2700, S5700, and S6700 V200R022C10 Command Reference
ssh server cipher
Function
The ssh server cipher command configures an encryption algorithm list for an SSH server.
The undo ssh server cipher command restores the default encryption algorithm list of an SSH server.
By default, an SSH server supports all encryption algorithms.
Parameters
Parameter |
Description |
Value |
---|---|---|
des_cbc |
Specifies the CBC DES encryption algorithm. |
- |
3des_cbc |
Specifies the CBC 3DES encryption algorithm. |
- |
aes128_cbc |
Specifies the CBC AES128 encryption algorithm. |
- |
aes256_cbc |
Specifies the CBC AES256 encryption algorithm. |
- |
Usage Guidelines
An SSH server and a client need to negotiate an encryption algorithm for the packets exchanged between them. You can run the ssh server cipher command to configure an encryption algorithm list for the SSH server. After the SSH server receives a packet from the client, the server matches the encryption algorithm list of the client against its local list and selects the first matched encryption algorithm. If no matched encryption algorithms, the negotiation fails.