error:
Unable to negotiate with 192.168.120.246 port 29418: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
fatal: Could not read from remote repository.
修复:
1)、sudo vim /etc/ssh/ssh_config
2)、添加
Host *
KexAlgorithms +diffie-hellman-group1-sha1