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
-
Connect to the ECS instance whose operating system you want to migrate. Connect to a Linux instance by using a password or key.
-
Modify the OpenSSH configuration file.
-
Run the following command to open
/etc/ssh/sshd_config:vim /etc/ssh/sshd_config -
Press
Ito enter insert mode. -
Remove these deprecated ciphers from the
Ciphersline:blowfish-cbc,cast128-cbc,arcfour,arcfour128, andarcfour256. Alternatively, comment out the Ciphers lines. -
Remove the deprecated MAC algorithm from the
MACsline:hmac-ripemd160. Alternatively, comment out the MACs lines. -
Press
ESCto exit insert mode, then enter:wqand press Enter to save the file.
-
-
After you resolve the network issue, run the SMC client to retry the operation. For more information, see Run the SMC client.