用记事本打开或创建.ssh/目录下的config文件。增加以下配置。
Host *
    KexAlgorithms +diffie-hellman-group1-sha1
    HostkeyAlgorithms +ssh-dss,ssh-rsa
    PubkeyAcceptedKeyTypes +ssh-dss,ssh-rsa具体原因可参考如下链接:
 Using OpenSSH with legacy SSH implementations:http://www.openssh.com/legacy.html









