mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
docs: convert alerts to use GitHub Flavored Markdown (GFM) (#16850)
followup to #16761 thanks @lucasmelin ! + thanks: @ethanndickson @Parkreiner @matifali @aqandrew - [x] update snippet - [x] find/replace - [x] spot-check [preview](https://coder.com/docs/@16761-gfm-callouts/admin/templates/managing-templates/schedule) (and others) --------- Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com> Co-authored-by: M Atif Ali <atif@coder.com>
This commit is contained in:
co-authored by
EdwardAngert
M Atif Ali
parent
e817713dc0
commit
101b62dc3e
@@ -3,9 +3,9 @@
|
||||
There are many ways to connect to your workspace, the options are only limited
|
||||
by the template configuration.
|
||||
|
||||
> Deployment operators can learn more about different types of workspace
|
||||
> connections and performance in our
|
||||
> [networking docs](../../admin/infrastructure/index.md).
|
||||
Deployment operators can learn more about different types of workspace
|
||||
connections and performance in our
|
||||
[networking docs](../../admin/infrastructure/index.md).
|
||||
|
||||
You can see the primary methods of connecting to your workspace in the workspace
|
||||
dashboard.
|
||||
@@ -38,30 +38,37 @@ Or, you can configure plain SSH on your client below.
|
||||
Coder generates [SSH key pairs](../../admin/security/secrets.md#ssh-keys) for
|
||||
each user to simplify the setup process.
|
||||
|
||||
> Before proceeding, run `coder login <accessURL>` if you haven't already to
|
||||
> authenticate the CLI with the web UI and your workspaces.
|
||||
1. Use your terminal to authenticate the CLI with Coder web UI and your workspaces:
|
||||
|
||||
To access Coder via SSH, run the following in the terminal:
|
||||
```bash
|
||||
coder login <accessURL>
|
||||
```
|
||||
|
||||
```console
|
||||
coder config-ssh
|
||||
```
|
||||
1. Access Coder via SSH:
|
||||
|
||||
> Run `coder config-ssh --dry-run` if you'd like to see the changes that will be
|
||||
> made before proceeding.
|
||||
```shell
|
||||
coder config-ssh
|
||||
```
|
||||
|
||||
Confirm that you want to continue by typing **yes** and pressing enter. If
|
||||
1. Run `coder config-ssh --dry-run` if you'd like to see the changes that will be
|
||||
before you proceed:
|
||||
|
||||
```shell
|
||||
coder config-ssh --dry-run
|
||||
```
|
||||
|
||||
1. Confirm that you want to continue by typing **yes** and pressing enter. If
|
||||
successful, you'll see the following message:
|
||||
|
||||
```console
|
||||
You should now be able to ssh into your workspace.
|
||||
For example, try running:
|
||||
```console
|
||||
You should now be able to ssh into your workspace.
|
||||
For example, try running:
|
||||
|
||||
$ ssh coder.<workspaceName>
|
||||
```
|
||||
|
||||
$ ssh coder.<workspaceName>
|
||||
```
|
||||
|
||||
Your workspace is now accessible via `ssh coder.<workspace_name>` (e.g.,
|
||||
`ssh coder.myEnv` if your workspace is named `myEnv`).
|
||||
Your workspace is now accessible via `ssh coder.<workspace_name>`
|
||||
(for example, `ssh coder.myEnv` if your workspace is named `myEnv`).
|
||||
|
||||
## Visual Studio Code
|
||||
|
||||
|
||||
@@ -27,10 +27,6 @@ manually setting up an SSH connection.
|
||||
|
||||
### How to use the plugin
|
||||
|
||||
> If you experience problems, please
|
||||
> [create a GitHub issue](https://github.com/coder/coder/issues) or share in
|
||||
> [our Discord channel](https://discord.gg/coder).
|
||||
|
||||
1. [Install Gateway](https://www.jetbrains.com/help/idea/jetbrains-gateway.html)
|
||||
and open the application.
|
||||
1. Under **Install More Providers**, find the Coder icon and click **Install**
|
||||
@@ -72,8 +68,11 @@ manually setting up an SSH connection.
|
||||
|
||||

|
||||
|
||||
> Note the JetBrains IDE is remotely installed into
|
||||
> `~/.cache/JetBrains/RemoteDev/dist`
|
||||
The JetBrains IDE is remotely installed into `~/.cache/JetBrains/RemoteDev/dist`
|
||||
|
||||
If you experience any issues, please
|
||||
[create a GitHub issue](https://github.com/coder/coder/issues) or share in
|
||||
[our Discord channel](https://discord.gg/coder).
|
||||
|
||||
### Update a Coder plugin version
|
||||
|
||||
@@ -136,8 +135,7 @@ keytool -import -alias coder -file cacert.pem -keystore /Applications/JetBrains\
|
||||
|
||||
## Manually Configuring A JetBrains Gateway Connection
|
||||
|
||||
> This is in lieu of using Coder's Gateway plugin which automatically performs
|
||||
> these steps.
|
||||
This is in lieu of using Coder's Gateway plugin which automatically performs these steps.
|
||||
|
||||
1. [Install Gateway](https://www.jetbrains.com/help/idea/jetbrains-gateway.html).
|
||||
|
||||
@@ -187,8 +185,7 @@ keytool -import -alias coder -file cacert.pem -keystore /Applications/JetBrains\
|
||||
|
||||

|
||||
|
||||
> Note the JetBrains IDE is remotely installed into
|
||||
> `~/. cache/JetBrains/RemoteDev/dist`
|
||||
The JetBrains IDE is remotely installed into `~/. cache/JetBrains/RemoteDev/dist`
|
||||
|
||||
1. Click **Download and Start IDE** to connect.
|
||||
|
||||
@@ -206,6 +203,7 @@ cd /opt/idea/bin
|
||||
./remote-dev-server.sh registerBackendLocationForGateway
|
||||
```
|
||||
|
||||
> [!NOTE]
|
||||
> Gateway only works with paid versions of JetBrains IDEs so the script will not
|
||||
> be located in the `bin` directory of JetBrains Community editions.
|
||||
|
||||
@@ -395,6 +393,6 @@ Fleet can connect to a Coder workspace by following these steps.
|
||||
4. Connect via SSH with the Host set to `coder.workspace-name`
|
||||

|
||||
|
||||
> If you experience problems, please
|
||||
> [create a GitHub issue](https://github.com/coder/coder/issues) or share in
|
||||
> [our Discord channel](https://discord.gg/coder).
|
||||
If you experience any issues, please
|
||||
[create a GitHub issue](https://github.com/coder/coder/issues) or share in
|
||||
[our Discord channel](https://discord.gg/coder).
|
||||
|
||||
@@ -50,17 +50,17 @@ For more examples, see `coder port-forward --help`.
|
||||
|
||||
## Dashboard
|
||||
|
||||
> To enable port forwarding via the dashboard, Coder must be configured with a
|
||||
> [wildcard access URL](../../admin/setup/index.md#wildcard-access-url). If an
|
||||
> access URL is not specified, Coder will create
|
||||
> [a publicly accessible URL](../../admin/setup/index.md#tunnel) to reverse
|
||||
> proxy the deployment, and port forwarding will work.
|
||||
>
|
||||
> There is a
|
||||
> [DNS limitation](https://datatracker.ietf.org/doc/html/rfc1035#section-2.3.1)
|
||||
> where each segment of hostnames must not exceed 63 characters. If your app
|
||||
> name, agent name, workspace name and username exceed 63 characters in the
|
||||
> hostname, port forwarding via the dashboard will not work.
|
||||
To enable port forwarding via the dashboard, Coder must be configured with a
|
||||
[wildcard access URL](../../admin/setup/index.md#wildcard-access-url). If an
|
||||
access URL is not specified, Coder will create
|
||||
[a publicly accessible URL](../../admin/setup/index.md#tunnel) to reverse
|
||||
proxy the deployment, and port forwarding will work.
|
||||
|
||||
There is a
|
||||
[DNS limitation](https://datatracker.ietf.org/doc/html/rfc1035#section-2.3.1)
|
||||
where each segment of hostnames must not exceed 63 characters. If your app
|
||||
name, agent name, workspace name and username exceed 63 characters in the
|
||||
hostname, port forwarding via the dashboard will not work.
|
||||
|
||||
### From an coder_app resource
|
||||
|
||||
@@ -122,6 +122,7 @@ it is still accessible.
|
||||
|
||||

|
||||
|
||||
> [!NOTE]
|
||||
> The sharing level is limited by the maximum level enforced in the template
|
||||
> settings in licensed deployments, and not restricted in OSS deployments.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Remote Desktops
|
||||
|
||||
> Built-in remote desktop is on the roadmap
|
||||
> ([#2106](https://github.com/coder/coder/issues/2106)).
|
||||
Built-in remote desktop is on the roadmap
|
||||
([#2106](https://github.com/coder/coder/issues/2106)).
|
||||
|
||||
## VNC Desktop
|
||||
|
||||
@@ -45,10 +45,10 @@ Then, connect to your workspace via RDP:
|
||||
mstsc /v localhost:3399
|
||||
```
|
||||
|
||||
or use your favorite RDP client to connect to `localhost:3399`.
|
||||
Or use your favorite RDP client to connect to `localhost:3399`.
|
||||

|
||||
|
||||
> Note: Default username is `Administrator` and password is `coderRDP!`.
|
||||
The default username is `Administrator` and password is `coderRDP!`.
|
||||
|
||||
## RDP Web
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@ extension, authenticates with Coder, and connects to the workspace.
|
||||
|
||||

|
||||
|
||||
> [!NOTE]
|
||||
> The `VS Code Desktop` button can be hidden by enabling
|
||||
> [Browser-only connections](../../admin/networking/index.md#browser-only-connections).
|
||||
|
||||
@@ -52,7 +53,8 @@ marketplace, or the Eclipse Open VSX _local_ marketplace.
|
||||
|
||||

|
||||
|
||||
> Note: Microsoft does not allow any unofficial VS Code IDE to connect to the
|
||||
> [!NOTE]
|
||||
> Microsoft does not allow any unofficial VS Code IDE to connect to the
|
||||
> extension marketplace.
|
||||
|
||||
### Adding extensions to custom images
|
||||
|
||||
@@ -15,8 +15,8 @@ In Coder, web IDEs are defined as
|
||||
resources in the template. With our generic model, any web application can be
|
||||
used as a Coder application. For example:
|
||||
|
||||
> To learn more about configuring IDEs in templates, see our docs on
|
||||
> [template administration](../../admin/templates/index.md).
|
||||
To learn more about configuring IDEs in templates, see our docs on
|
||||
[template administration](../../admin/templates/index.md).
|
||||
|
||||

|
||||
|
||||
|
||||
@@ -66,10 +66,7 @@ Use the Coder CLI to log in and configure SSH, then connect to your workspace wi
|
||||
|
||||

|
||||
|
||||
<blockquote class="admonition note">
|
||||
|
||||
If you have any suggestions or experience any issues, please
|
||||
[create a GitHub issue](https://github.com/coder/coder/issues) or share in
|
||||
[our Discord channel](https://discord.gg/coder).
|
||||
|
||||
</blockquote>
|
||||
> [!NOTE]
|
||||
> If you have any suggestions or experience any issues, please
|
||||
> [create a GitHub issue](https://github.com/coder/coder/issues) or share in
|
||||
> [our Discord channel](https://discord.gg/coder).
|
||||
|
||||
Reference in New Issue
Block a user