Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/perl/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Intellij idea PhpStorm:通过SFTP连接SSH时出现问题,在Mac中出现“算法协商失败”_Intellij Idea_Phpstorm_Jetbrains Ide - Fatal编程技术网

Intellij idea PhpStorm:通过SFTP连接SSH时出现问题,在Mac中出现“算法协商失败”

Intellij idea PhpStorm:通过SFTP连接SSH时出现问题,在Mac中出现“算法协商失败”,intellij-idea,phpstorm,jetbrains-ide,Intellij Idea,Phpstorm,Jetbrains Ide,连接SFTP/SSH时面临的问题 操作系统:Mac Sierra PhpStorm版本:8.0.4 2017-06-26 16:48:58697[21927]调试-emoteRunConfiguration$设置-格式错误:BeanBinding[com.jetbrains.php.run.deploymentAware.PHPUnit.PhpUnitRemoteRunConfiguration$设置,tagName=Settings]内的[Attribute:factoryName=PHPUn

连接SFTP/SSH时面临的问题 操作系统:Mac Sierra PhpStorm版本:8.0.4

2017-06-26 16:48:58697[21927]调试-emoteRunConfiguration$设置-格式错误:BeanBinding[com.jetbrains.php.run.deploymentAware.PHPUnit.PhpUnitRemoteRunConfiguration$设置,tagName=Settings]内的[Attribute:factoryName=PHPUnit on Server]没有绑定

2017-06-26 16:48:58959[22189]信息-ellij.project.impl.projectmpl-在579毫秒内初始化123个项目组件

2017-06-26 16:48:58984[22214]信息-le.impl.ModuleManager组件-在24毫秒内加载1个模块

2017-06-26 16:48:59055[22285]信息-om.intellij.util.ProfilingUtil-未启用分析代理。如果需要评测idea,请将-agentlib:yjpagent添加到idea.vmoptions

2017-06-26 16:49:00127[23357]信息-rains.ide.BuiltInServerManager-内置服务器已启动,端口63342

2017-06-26 16:49:00953[24183]INFO-indexing.UnindexedFilesUpdater-可索引文件在917毫秒内迭代

2017-06-26 16:49:02294[25524]信息-tor.impl.FileEditorManagerImpl-项目开放时间为3961毫秒

2017-06-26 16:49:02475[25705]错误-jediterm.terminal.TerminalMode-未实现模式八位输入,设置为true

2017-06-26 16:49:40101[63331]INFO-lij.diagnostic.DebugLogManager-设置以下类别的调试:[com.jetbrains.php,com.jetbrains.plugins.webDeployment]

上面是日志,我也尝试了一些解决方法来实现这一点,但没有成功,我在sshd_config文件中添加了下面提到的附加代码

任何帮助都将不胜感激

一,。首先安装Java SE JDK:

二,。然后下载.exe版本或.dmg。在您的计算机上运行并安装它

三,。然后下载:

四,。然后转到Windows的目录-C:\Program Files x86\JetBrains\PhpStorm 9.0.3\jre\jre\lib\security-for MAC-/Applications/PhpStorm.app/Contents/jre/jdk/Contents/Home/jre/lib,并用刚下载的新策略替换本地策略和美国导出策略

现在应该运行顺利了 卸载所有版本并从头开始,然后再进行此操作,以便有一个干净的开始


尝试“注释”部分的解决方案:phpstormV8?这是一个旧版本-请尝试下载最新的2017.1.4,然后在那里尝试相同的版本。@Edwin我尝试了那篇文章中提到的解决方案,但运气不好它不起作用。@LazyOne我想在这个版本上运行我的观点是:服务器可能使用PhpStorm v8 2.5年前可能根本不支持的协议/密码。在这种情况下,解决方案可能是削弱服务器端受支持的协议/密码。我只是建议您尝试2017.1版本,以检查它是否在那里有效。它有效!我已替换了两个文件夹中的文件:1 C:\Program files\JetBrains\PhpStorm 2017.2.4\jre64\lib\security\policy\limited 2 C:\Program files\JetBrains\PhpStorm 2017.2.4\jre64\lib\security\policy\unlimited@FaisalAlvi很好,很开心。接受我的答案作为解决方案,以便其他人也可以参考。
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