File | Settings | Project Settings | SSH Terminal
Use this dialog box to appoint the a remote Web server or a Vagrant instance (virtual machine) to access through the SSH terminal, configure connection with the destination_environment,
and choose the encoding to use in the SSH terminal.
Make sure the SSH Remote Run plugin is enabled.
The plugin is bundled with PhpStorm and activated by default. If not, enable it as described in Enabling and Disabling Plugins.
||In this section, appoint the a remote Web server or a Vagrant instance (virtual machine) to access through the SSH terminal and specify where the connection settings should be taken from:
Current Vagrant: select this option to have the commands in the SSH Terminal executed on the currently running Vagrant virtual machine.
For details, see Working with Reproducible Development Environments Using Vagrant.
Deployment server: select this option to have the commands in the SSH Terminal executed on the local or remote Web server accessible through
one of the server access configurations.
From the drop-down list, choose the server access configuration that specifies the destination environment and the settings to establish connection to it.
Select server on every run: if this option is selected,
you will have to choose the desired server access configuration from the pop-up window, every time you choose on the main menu.
If the desired server access configuration does not appear in the drop-down list, click the link
Configure Servers, and define one in the Deployment page.
For details, see Configuring Synchronization with a Web Server.
||From this drop-down list, select the desired encoding to be used in the SSH terminal.