Archive for the ‘MacOS’ Category

MacOS 12 failed to SSH – no matching key exchange method found

Wednesday, January 19th, 2022

Unable to negotiate with 192.168.1.1 port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1

Add to the bottom of /etc/ssh/ssh_config


KexAlgorithms +diffie-hellman-group1-sha1

Installing brew on Mac

Wednesday, February 26th, 2020

Installing brew

/usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”

Removing brew

ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)”