After the Encryption Algorithm Is Upgraded, an Error Message Is Displayed When I Attempt to Log In to the Device Using STelnet. What Can I Do to Solve the Problem?
If the error message Key exchange failed. No compatible MAC. The server supports these MACs:hmac-sha2-256 is displayed when you log in to the device using STelnet, the error may be caused by the encryption algorithm mismatch. Use either of the following methods to eliminate the error:
- If you can log in to the device through the console port, add all encryption algorithms and checksum algorithms to the encryption algorithm list and checksum algorithm list, respectively.
<AC> system-view [AC] ssh server secure-algorithms cipher 3des aes128 aes256_cbc aes128_ctr aes256_ctr [AC] ssh server secure-algorithms hmac md5 md5_96 sha1 sha1_96 sha2_256 sha2_256_96
- If you cannot log in to the device through the console port, upgrade the HyperTerminal to the latest version (such as PuTTY).