PHP8.1.21版本已发布
vue8.1.21版本已发布
jquery8.1.21版本已发布

PhpStorm: Algorithm negotiation fail

原创
2016-06-23 13:31:42 1105浏览

事情是酱紫的,我用 phpstorm 通过 sftp 协议连接我一台服务器的时候报错


Algorithm negotiation fail

第一次遇到这个问题, 并通过 stackoverflow 搜索解决.

解决方法

编辑 /etc/ssh/sshd_config 文件


vim /etc/ssh/sshd_config

在文件末尾加入如下配置(首先确认配置文件不存在该配置项)


KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1

重启 sshd


serivce sshd restart

声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。