Notepad ++ NppFTP [SFTP]连接失败:kex错误

时间:2017-03-29 04:18:29

标签: connection notepad++ sftp

当我在Windows上连接Virtual Ubuntu系统时,请找到如下问题:

[SFTP] Connection failed : kex error : did not find one of algos diffie-hellman-group1-sha1 in list curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1 for kex algos 

我想知道如何解决它。

1 个答案:

答案 0 :(得分:0)

  

mcedit / etc / ssh / sshd_config

在文件末尾添加这两行:

  

KexAlgorithms   的Diffie-Hellman-组1-SHA1,curve25519-SHA256 @ libssh.org,ECDH-SHA2-nistp256,ECDH-SHA2-nistp384,ECDH-SHA2-nistp521,的Diffie-Hellman群交换-SHA256,的Diffie-Hellman-group14- SHA1   密码3des-cbc,blowfish-cbc,aes128-cbc,aes128-ctr,aes256-ctr

现在重启sshd

  

service sshd restart