Notepad ++ NppFTP [SFTP] Connection error: kex error

When I connect the Virtual Ubuntu system to my Windows, look for a question like this:

[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 

      

I want to know how to resolve it.

+3


source to share


1 answer


mcedit / etc / ssh / sshd_config

add two lines to the end of the file:

KexAlgorithms Diffie-Hellman-group1-sha1, curve25519-sha256 @ libssh.org, ECDH-SHA2-nistp256, ECDH-SHA2-nistp384, ECDH-SHA2-nistp521, Diffie-Hellman-exchange group sha256, Diffie-Hellman-sha256 group Ciphers 3des-cbc, blowfish-cbc, aes128-cbc, aes128-ctr, aes256-ctr



now restart sshd

sshd restart service

0


source







All Articles