|
1 | 1 | #Configuring JetBrains Gateway
|
2 | 2 |
|
3 |
| -The followingscreenshots outline in more detailhow tocreate a new Connection |
4 |
| -for JetBrains Gateway to aCoder workspace. |
| 3 | +The followingwalkthrough detailshow toconnect JetBrains Gateway to |
| 4 | +Coder. |
5 | 5 |
|
6 | 6 | ##Creating a new JetBrains Gateway Connection
|
7 | 7 |
|
8 |
| -After installing Gateway on your local system, you may connect to a Coder |
9 |
| -workspace as follows |
10 |
| - |
| 8 | +1.[Install Gateway](https://www.jetbrains.com/help/idea/jetbrains-gateway.html) |
| 9 | +1.[Configure the`coder` CLI](../ides.md#ssh-configuration) |
11 | 10 | 1. Open Gateway, make sure "SSH" is selected under "Remote Development"
|
12 |
| -2. Click "New Connection" |
13 |
| - |
14 |
| - |
15 |
| - |
16 |
| -3. In the resulting dialog, click the gear icon to the right of "Connection:" |
17 |
| - |
18 |
| - |
19 |
| - |
20 |
| -4. Hit the "+" button to add a new SSH connection |
21 |
| - |
22 |
| - |
23 |
| - |
24 |
| -1. For the Host, enter`coder.<workspace name>` |
25 |
| -2. For the Port, enter`22` (this is ignored by Coder) |
26 |
| -3. For the Username, enter`coder` |
27 |
| -4. For the Authentication Type, select "OpenSSH config and authentication |
28 |
| - agent" |
29 |
| -5. Make sure the checkbox for "Parse config file~/.ssh/config" is checked. |
30 |
| -6. Click "Test Connection" to ensure you setting are ok. |
31 |
| -7. Click "OK" |
32 |
| - |
33 |
| - |
35 |
| - |
36 |
| -5. Select the connection you just added. |
37 |
| - |
38 |
| - |
39 |
| - |
40 |
| -6. Click "Check Connection and Continue" |
41 |
| - |
42 |
| - |
43 |
| - |
44 |
| -7. Select the JetBrains IDE for your project and the project directory |
45 |
| -1. Use an SSH terminal to your workspace to create a directory or check out |
46 |
| - code if you haven't already. |
47 |
| - |
48 |
| ->Note the JetBrains IDE is installed in the directory `~/. |
49 |
| ->cache/JetBrains/RemoteDev/dist` |
50 |
| -
|
51 |
| - |
52 |
| - |
53 |
| -8. Click "Download and Start IDE" to connect. |
54 |
| - |
55 |
| - |
56 |
| - |
57 |
| - |
| 11 | +1. Click "New Connection" |
| 12 | + |
| 13 | +1. In the resulting dialog, click the gear icon to the right of "Connection:" |
| 14 | + |
| 15 | +1. Hit the "+" button to add a new SSH connection |
| 16 | + |
| 17 | + |
| 18 | +1. For the Host, enter`coder.<workspace name>` |
| 19 | +1. For the Port, enter`22` (this is ignored by Coder) |
| 20 | +1. For the Username, enter`coder` |
| 21 | +1. For the Authentication Type, select "OpenSSH config and authentication |
| 22 | + agent" |
| 23 | +1. Make sure the checkbox for "Parse config file~/.ssh/config" is checked. |
| 24 | +1. Click "Test Connection" to validate these settings. |
| 25 | +1. Click "OK" |
| 26 | + |
| 27 | +1. Select the connection you just added |
| 28 | + |
| 29 | +1. Click "Check Connection and Continue" |
| 30 | + |
| 31 | +1. Select the JetBrains IDE for your project and the project directory. |
| 32 | + SSH into your server to create a directory or check out code if you haven't already. |
| 33 | + |
| 34 | +>Note the JetBrains IDE is remotely installed into`~/. cache/JetBrains/RemoteDev/dist` |
| 35 | +1. Click "Download and Start IDE" to connect. |
| 36 | + |