Unable to negotiate with 192.168.XX.XX port XXXX: no matching key exchange method found.

問題

Unable to negotiate with 192.168.XX.XX port 29418: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
fatal: Could not read from remote repository.

解決方法

vi ~/.ssh/config

host 192.168.XX.XX
port 29418
KexAlgorithms +diffie-hellman-group1-sha1

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章