1. 程式人生 > >git 拉程式碼報錯

git 拉程式碼報錯

【錯誤資訊】

Unable to negotiate with *** port ***: no matching cipher found. Their offer: aes128-cbc,3des-cbc,blowfish-cbc,aes192-cbc,aes256-cbc

fatal: Could not read from remote repository.

【原因】

系統升級導致

【解決方案】

開啟檔案ssh_config(/etc/ssh/ssh_config)

增加一行:

    Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc

over!