Resolve ssh error from Mac OS to Cisco switch/router
Error message
1. ssh by option -oKexAlgorithms when you meet error message
% ssh -oKexAlgorithms=+diffie-hellman-group1-sha1,diffie-hellman-group14-sha1 account@domain-name
or
2. edit /etc/ssh/ssh_config
unsharp middle two options
and add two options at latest
3 reboot
or
configure encryption strength to 2048 bits when you generate keys
references
https://www.petenetlive.com/kb/article/0001245
https://www.volico.com/wiki/pages/viewpage.action?pageId=15728687