mirror of
https://github.com/coder/coder.git
synced 2025-07-08 11:39:50 +00:00
if someone is not using coder-provided templates, they might not have coder as a user name.
37 lines
1.8 KiB
Markdown
37 lines
1.8 KiB
Markdown
# JetBrains Gateway
|
|
|
|
The following walkthrough details how to connect JetBrains Gateway to
|
|
Coder.
|
|
|
|
## Creating a new JetBrains Gateway Connection
|
|
|
|
1. [Install Gateway](https://www.jetbrains.com/help/idea/jetbrains-gateway.html)
|
|
1. [Configure the `coder` CLI](../ides.md#ssh-configuration)
|
|
1. Open Gateway, make sure "SSH" is selected under "Remote Development"
|
|
1. Click "New Connection"
|
|

|
|
1. In the resulting dialog, click the gear icon to the right of "Connection:"
|
|

|
|
1. Hit the "+" button to add a new SSH connection
|
|

|
|
|
|
1. For the Host, enter `coder.<workspace name>`
|
|
1. For the Port, enter `22` (this is ignored by Coder)
|
|
1. For the Username, enter your workspace username
|
|
1. For the Authentication Type, select "OpenSSH config and authentication
|
|
agent"
|
|
1. Make sure the checkbox for "Parse config file ~/.ssh/config" is checked.
|
|
1. Click "Test Connection" to validate these settings.
|
|
1. Click "OK"
|
|

|
|
1. Select the connection you just added
|
|

|
|
1. Click "Check Connection and Continue"
|
|

|
|
1. Select the JetBrains IDE for your project and the project directory.
|
|
SSH into your server to create a directory or check out code if you haven't already.
|
|

|
|
> Note the JetBrains IDE is remotely installed into `~/. cache/JetBrains/RemoteDev/dist`
|
|
1. Click "Download and Start IDE" to connect.
|
|

|