Development

Git clone error "no matching cipher found in macOS (High Sierra)

chbae 2023. 4. 21. 03:53
728x90

After High Sierra upgrade, I got the ssh error when I use "git clone"

Error

git clone ssh://....
Cloning into 'build-....'...
Unable to negotiate with .... port 29418: no matching cipher found. Their offer: aes128-cbc,3des-cbc,blowfish-cbc,aes192-cbc,aes256-cbc
fatal: Could not read from remote repository.

Please make sure you have the correct access rights

Solution

ssh -c 3des-cbc <user>@<hostname>
or Add "Ciphers 3des-cbc" in ~/.ssh/config.

 

Referencehttps://discussions.apple.com/thread/8196671