phpstorm SSH不会给我带来下一个按钮 [英] phpstorm SSH won't bring me the next button

查看:289
本文介绍了phpstorm SSH不会给我带来下一个按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用phpstorm使用SSH/SFTP连接到服务器?

How can I use a SSH / SFTP connection to my server using phpstorm?

如果添加远程服务器,则可以选择私钥文件(putty),但他不会激活下一步"按钮:(如果我说以匿名身份登录",它将突出显示下一步"按钮,但是不是我想要的:):)

If I add a remote Server, I can choose the private Key file (putty) but he won't activate the "Next" button :( If I say "Login as anonymous" it will highlight the Next-button but thats not what I want :):)

我已经搜索了文档,但找不到有用的答案.也许您过去遇到过同样的问题?

I've searched the Docs but dind't find an helpful answer. Maybe you got the same problem in past?


按照回答,我设置了服务器信息.现在,它返回了一个错误:


As answered, I set up the server informations. Now, it returns me an error:

Server 'Check' is not valid: <html>Keypair 'C:\Program Files\putty\riegelp.ppk' is corrupt or 
has unknown format.<br> Only SSH2 keys in OpenSSH format or PuTTY Private Key *.ppk keys are 
supported.<br> Error message: The cipher 'aes256-cbc' is required, but it is not available.
</html>.

推荐答案

这是由于Java在其默认安装中未附带必需的加密程序包引起的. PHPStorm捆绑了自己的Java副本,因此需要添加扩展的加密.

This is caused by Java not coming with the necessary encryption packages in its default install. PHPStorm is bundled with its own copy of Java so this needs to have the extended encryption added.

首先确定您的PHPStorm安装中附带了哪个Java版本,这可以通过找到PHPStorm java.exe位置并使用-version从cmd运行它来完成,例如:

First work out which version of Java has come with your PHPStorm install, this can be done by finding the PHPStorm java.exe location and running it from the cmd with -version e.g.:

"C:\Program Files (x86)\JetBrains\PhpStorm 8.0.1\jre\jre\bin\java.exe" -version
java version "1.7.0_60"

接下来下载正确的"Java密码学扩展(JCE)无限强度管辖权策略文件"

Next download the correct "Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files"

  • Java 6 : http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html
  • Java 7 : http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html
  • Java 8 : http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html

在安装文档之后,将安全性目录中的以下文件替换为下载中的新文件

Follow the install docs, you replace the following files in the security dir with the new ones from the download

C:\Program Files (x86)\JetBrains\PhpStorm 8.0.1\jre\jre\lib\security
local_policy.jar
US_export_policy.jar

使用aes加密密钥打开PHPStorm和SFTP应该可以正常工作

Open up PHPStorm and SFTP with aes encrypted keys should be working

这篇关于phpstorm SSH不会给我带来下一个按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆