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

2018-10-06  本文已影响0人  阿春_abcdlcq

升级后的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

上一篇 下一篇

猜你喜欢

热点阅读