# SSH 终端

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com.cn/help/idea/llms.txt).

> **TL;DR**
> `文件 | 设置 | 工具 | SSH 终端`  适用于 Windows 和 Linux
>
>
>
> `%instance% | 设置 | 工具 | SSH 终端`  适用于 macOS
>
>
>
> `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) !["设置"图标](https://resources.jetbrains.com.cn/help/img/idea/2026.3/app.expui.general.settings.svg)

使用此对话框指定远程 Web 服务器或 Vagrant 实例（虚拟机）以通过 [SSH terminal](running-ssh-terminal.html) 访问、配置与目标环境的连接，并选择在 SSH terminal 中使用的编码。

使用此对话框配置 [SSH terminal](running-ssh-terminal.html)。

|  条目  |  描述  |
| --- | --- |
|  连接设置  |     在本节中，指定通过 SSH 终端访问的远程 Web 服务器或 Vagrant 实例（虚拟机），并指定连接设置的来源：        * 当前 Vagrant ：选择此选项可在当前正在运行的 [Vagrant 虚拟机](vagrant-support.html) 上执行 SSH 终端中的命令。    * SSH 配置 ：选择此选项可在可通过某个 [SSH 配置](create-ssh-configurations.html) 访问的本地或远程 Web 服务器上执行 SSH 终端中的命令。 * 每次运行时选择 SSH 配置 ：如果选择此选项，则每次从主菜单选择 `工具 \| 启动 SSH 会话` 时，都必须从弹出窗口中选择所需的配置。 * 如果所需的 SSH 配置未显示在列表中，请点击 设置配置 链接，并在 [SSH 配置](settings-tools-ssh-configurations.html) 页面中定义一个。    |
|  默认编码  |  从此列表中选择要在 SSH 终端中使用的编码。  |

## See also

### 过程

[运行 SSH 终端](running-ssh-terminal.html) [将文件部署到服务器](deploying-applications.html)

### 参考

[部署](settings-deployment.html)

