Linux Networking Systems Administration

Workaround for SSH error to Cisco switch from Ubuntu 20.04 – no matching key exchange method found

Trying to SSH to a Cisco switch from Ubuntu 20.04 you may get this error: This error is because Ubuntu 20.04 has disabled the SHA1-based key exchange methods after some attacks have been found on SHA1. To work around this issue for Cisco switches you can use the command line argument -oKexAlgorithms=+diffie-hellman-group1-sha1 like this: To […]