使用sftp 链接远程服务器报错:
Unable to negotiate with *** port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1,diffie-hellman-group14-sha1
step1:sudo su
step2: vi ~/.ssh/config
输入:
Host *
KexAlgorithms +diffie-hellman-group1-sha1
step3: service ssh restart