解决办法 # vi ~/.ssh/config KexAlgorithms diffie-hellman-group1-sha1 参考 https://www.alfredtong.com/apple-2/macos-no-matching-key-exchange-method-found-offer-diffie-hellman-group1-sha1/