使用Notepad++ NppFTP插件通过sftp方式连接到ubuntu系统服务器出现无法连接时解决办法

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-nistp521,diffie-hellman-grou

  • 2
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值