for Windows and Linux
for macOS Ctrl+Alt+S
Make sure the SSH Remote Run bundled plugin is enabled on the Settings/Preferences | Plugins page as described in Installing plugins from JetBrains repository.
In this section, appoint the %destination_environment% to access through the SSH terminal and specify where the connection settings should be taken from:
|Default encoding||From this list, select the desired encoding to be used in the SSH terminal.|