phpstorm连接ssh php,我可以在PhpStorm中使用远程ssh终端访问吗?
弄清楚了!
在新的副本上,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中启用(不确定早期版本).