美文网首页
SftpDrive无法连接ubuntu16.04的处理方法

SftpDrive无法连接ubuntu16.04的处理方法

作者: 阿春_abcdlcq | 来源:发表于2018-10-06 21:54 被阅读0次

升级后的ubuntu16.04,ssh加密不支持diffie-hellman-group1-sha1加密方式。

修改/etc/ssh/sshd_config,添加:

#Legacy changes

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

相关文章

网友评论

      本文标题:SftpDrive无法连接ubuntu16.04的处理方法

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