Ubuntu16.04 Notepad++ NppFTP error :[SFTP] Connection failed : kex error : did not find one of algos diffie-hellman-group1-sha1 in list
使用Notepad++ NppFTP插件通过sftp方式连接到ubuntu16.04.4系统服务器出现无法连接,提示错误信息如下:
[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
Unable to connect
解决方法:
通过xshell等ssh终端连接到ubuntu系统服务器后
编辑配置文件:
vi /etc/ssh/sshd_config
按住shift键输入gg跳转到配置文件末尾
在文件末尾加入以下内容:
KexAlgorithms diffie-hellman-group1-sha1,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-n