# SSH Configurations

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

> **TL;DR**
> `File | Settings | Tools | SSH Configurations` for Windows and Linux
>
>
>
> `GoLand | Settings | Tools | SSH Configurations` for macOS
>
>
>
> [Settings… shortcut](https://www.jetbrains.com/help/go/llms-keymap-index.md "ShowSettings") ![the Settings icon](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.settings.svg)

Use this page to [create SSH configurations](https://www.jetbrains.com/help/go/create-ssh-configurations.html.md), which can be used for configuring remote interpreters, [connecting to SFTP deployment servers](https://www.jetbrains.com/help/go/creating-a-remote-server-configuration.html.md), and [launching SSH sessions](https://www.jetbrains.com/help/go/running-ssh-terminal.html.md).

|  ![the Add button](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.add.svg) Add `Insert`  | Create a new SSH configuration. |
|  ![the Remove button](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.remove.svg) Delete `Alt+Delete`  |    Remove the selected SSH configuration.                      > **Note:** > This will affect the configured remote interpreters, [SFTP deployment servers](https://www.jetbrains.com/help/go/creating-a-remote-server-configuration.html.md), and [SSH sessions](https://www.jetbrains.com/help/go/running-ssh-terminal.html.md) that depend on this configuration.    |
|  ![the Copy button](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.copy.svg) Copy `Ctrl+D`  | Create a copy of the selected SSH configuration. |
|  ![the Rename button](https://resources.jetbrains.com/help/img/idea/2026.3/app-client.expui.general.edit.svg) Rename [Rename… shortcut](https://www.jetbrains.com/help/go/llms-keymap-index.md "RenameElement")  | Rename the selected SSH configuration. |

<a id="ssh-configuration-settings"></a>

## SSH configuration settings

| Visible only for this project |     Restrict this SSH configuration to the current project. The configuration will not be available in other projects. GoLand stores such configurations in the project's `.idea` directory, which you can share between team members [in a VCS](https://www.jetbrains.com/help/go/version-control-integration.html.md).                            By default, this option is disabled and GoLand stores the SHH configuration in the [IDE configuration directory](https://www.jetbrains.com/help/go/directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html.md#config-directory). In this case, you can use this configuration in any project when working from the current instance of GoLand.     |
| SSH session backend |     Select the SSH session backend for this SSH configuration. This option allows different SSH connections to use different backends.     |
|  Legacy  | This option uses the legacy SSHJ library. |
| OpenSSH |     This option uses the OpenSSH library instead of the custom JetBrains SSH implementation. With this backend, SSH connections rely on the compatibility and security updates of OpenSSH.       Only the Host field is required. The IDE reads the connection settings from `~/.ssh/config`, which includes the port, the user, the keys, the proxy, and the timeouts.     |
| Host |  Specify the hostname of the server to which to connect.  |
| Username | Specify the username for authentication to the server. This field is optional if the [OpenSSH](#openssh) option was selected since this information is taken from the `~.ssh/config` file.  |
| Port |  Specify the remote port number to which to connect. The default value is `22` (the standard TCP port for SSH).   This field is optional if the [OpenSSH](#openssh) option was selected since this information is taken from the `~.ssh/config` file.    |
| Authentication type | This field is displayed if the Legacy option was selected.     Select the client authentication method:                            * Password: Authenticate with the specified password and remember it if necessary.    * Key pair: Use [SSH authentication](http://www.ssh.com/) with a key pair (OpenSSH or PuTTY). Specify the location of the private key file and the corresponding authentication passphrase. The public key should be on the remote server. Remember the passphrase if necessary.    * OpenSSH config and authentication agent: Use a credentials helper application that manages your SSH keys, such as [ssh-agent](https://en.wikipedia.org/wiki/Ssh-agent). For example, see the following tutorial: [Generating a new SSH key and adding it to the ssh-agent](https://docs.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent).    |
| Parse config file ~/.ssh/config |    This option is always selected if the OpenSSH option is selected.      Read the [OpenSSH client-side configuration file](https://www.ssh.com/academy/ssh/config) for any options not specified in the SSH configuration for the corresponding host.                            This option is available only for Password and Key pair authentication types. With OpenSSH config and authentication agent, GoLand reads the OpenSSH config file in any case.                           For more information, refer to [Supported OpenSSH directives](https://www.jetbrains.com/help/go/create-ssh-configurations.html.md#openssh-directives), Run SSH terminal.    |
|  Associated  credentials  |    This field is displayed if the OpenSSH option was selected.     The field is optional and can be used to store password or passphrase.     |
| Private key file |    This field is available if the OpenSSH option was selected. You can specify a path to the file for the key-based authentication.    |
| Test Connection | Try to connect with the current SSH configuration settings. |

<a id="connection-parameters"></a>

### Connection Parameters

| Send keep-alive messages every | This option is not applicable if OpenSSH used. Send regular packets to keep the SSH connection active. Without regular messages, the remote server might close the connection. Set the message period in seconds.  |
| Strict host key checking |    Specify how to handle new and changed host keys.                                * Yes: Never add new host keys to the user's known_hosts file and never allow connections to hosts with changed host keys.    * Accept New: Always add new host keys to the user's known_hosts file but never allow connections to hosts with changed host keys.    * No: Always add new host keys to the user's known_hosts file and allow connections to hosts with changed host keys.    * Ask: Add new host keys to the user's known_hosts file only after confirmation and never allow connections to hosts with changed host keys. This is the default behavior.    |
| Hash hosts in knownhosts file | Store new host records in hash format. |

## See also

### Procedures

[Create SSH configurations](https://www.jetbrains.com/help/go/create-ssh-configurations.html.md)  [Create a remote server configuration](https://www.jetbrains.com/help/go/creating-a-remote-server-configuration.html.md) [Run SSH terminal](https://www.jetbrains.com/help/go/running-ssh-terminal.html.md)

