All Products
Search
Document Center

Server Migration Center:Resolve the "OpenSSH configured to use removed ciphers" error

Last Updated:May 27, 2026

The "OpenSSH configured to use removed ciphers" error occurs during SMC migration when the OpenSSH configuration contains deprecated ciphers or MACs. Remove the unsupported entries to resolve this error.

Problem description

The "OpenSSH configured to use removed ciphers" error appears during operating system migration.

Cause

The /etc/ssh/sshd_config file contains insecure or deprecated ciphers or message authentication codes (MACs), which causes migration to fail.

Solution

  1. Connect to the ECS instance whose operating system you want to migrate. Connect to a Linux instance by using a password or key.

  2. Modify the OpenSSH configuration file.

    1. Run the following command to open /etc/ssh/sshd_config:

      vim /etc/ssh/sshd_config
    2. Press I to enter insert mode.

    3. Remove these deprecated ciphers from the Ciphers line: blowfish-cbc, cast128-cbc, arcfour, arcfour128, and arcfour256. Alternatively, comment out the Ciphers lines.

    4. Remove the deprecated MAC algorithm from the MACs line: hmac-ripemd160. Alternatively, comment out the MACs lines.

    5. Press ESC to exit insert mode, then enter :wq and press Enter to save the file.

  3. After you resolve the network issue, run the SMC client to retry the operation. For more information, see Run the SMC client.