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


這個網誌中的熱門文章

取消Excel與word網際網路與網路路徑超連結自動格式

Installing VMware workstation pro on Ubuntu 22.X (Jammy Jellyfish)