File | Settings | Tools | SSH Terminal for Windows and Linux PyCharm | Preferences | Tools | SSH Terminal for macOS Ctrl+Alt+S
Use this dialog to appoint the a remote Web server or the default remote interpreter 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 bundled plugin is enabled. If the plugin is disabled, activate it as described in Managing plugins.
Item
Description
Connection settings
In this section, appoint the a remote Web server or the default remote interpreter to access through the SSH terminal and specify where the connection settings should be taken from:
Default remote interpreter: select this option to have commands in the SSH terminal executed on the same host, where the default remote interpreter runs.
Current Vagrant: select this option to have the commands in the SSH Terminal executed on the currently running Vagrant virtual machine.
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 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 popup, every time you choose Tools | Start SSH Session from the main menu.