我可以在PhpStorm中使用远程ssh终端访问吗?

我在本地计算机上使用PhpStorm,Git和VirtualBox进行本地开发.我使用Git来处理将工作转移到临时或生产环境的过程.目前我正在使用 MobaXterm(Windows的一个优秀的免费标签ssh客户端)来终端访问在登台和生产服务器上做事情. PhpStorm内置了一个本地终端,但我如何使用它来访问多个ssh终端? (这样我可以从我的IDE中进行本地,远程登台和远程生产终端访问)

解决方法

弄清楚了!

在新的副本上,PhpStorm将拥有工具>终端调出本地终端.要获得额外的ssh终端访问权限,这就是我所做的……

>设置服务器

1.1) File > Settings > (Type: "Deployment" into the search box)
1.2) Hit the + button and fill in the necessary fields into the connection tab.
1.3) Click on the "Mappings" tab and clear the field "Local path"
     since we will only be using the terminal.
1.4) Repeat Steps 1.2 and 1.3 for each server you want a terminal tab for.
1.5) Don't set any of these as default,so that you will be prompted to choose
     a server in Step #2 below...

>启动远程终端选项卡(这也将打开本地终端)

2.1) Tools > Start SSH session (this option doesn't appear until Step #1 is   
     completed)
2.2) You will be prompted to select a server from Step #1.
     The terminal window appears and a new tab appears next to "local" in the
     terminal window.

编辑:(感谢Dan Dascalescu)您可能还想确保启用SSH Remote Run插件.默认情况下,它在PhpStorm 8中启用(不确定早期版本).

相关文章

createdtime20211113updatedtime20211113authorvenki.chen说...
Phpstorm是大多数PHP程序员们爱不释手的一款编码的集成开发工...
 PHPStorm设置打开您的项目,一旦打开,转到首选项并在语言...
前言:简单介绍下为什么要用断点调试,很多人说我在代码调试...
所以我在PHPStorm7.1中运行PHPUnit,但是我无法找到如何在测试...
参考:下载合适的XDebug点击这里,选择合适xdebugXAMPP配置p...