美文网首页
ubuntu16.04解决通过ssh远程链接mysql失败问题

ubuntu16.04解决通过ssh远程链接mysql失败问题

作者: GQ1994 | 来源:发表于2016-10-31 16:24 被阅读0次
  1. 打开ssh配置文件

    sudo vim /etc/ssh/sshd_config
    
  2. 在文章最后加入:

    KexAlgorithms diffie-hellman-group1-sha1,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1
    Ciphers 3des-cbc,blowfish-cbc,aes128-cbc,aes128-ctr,aes256-ctr

  3. ssh-keygen -A

  4. sudo service ssh restart

相关文章

网友评论

      本文标题:ubuntu16.04解决通过ssh远程链接mysql失败问题

      本文链接:https://www.haomeiwen.com/subject/lksputtx.html