docs: Change console to shell and remove unused elements (#5960)

This commit is contained in:
Bruno Quaresma
2023-02-01 18:27:11 +00:00
committed by GitHub
parent e6f5623627
commit 61dcf643e8
32 changed files with 129 additions and 131 deletions
+3 -3
View File
@@ -29,14 +29,14 @@ The supported syntax variations for the `--tcp` and `--udp` flag are:
Forward the remote TCP port `8080` to local port `8000`:
```console
```shell
coder port-forward myworkspace --tcp 8000:8080
```
Forward the remote TCP port `3000` and all ports from `9990` to `9999`
to their respective local ports.
```console
```shell
coder port-forward myworkspace --tcp 3000,9990-9999
```
@@ -89,7 +89,7 @@ Valid `share` values include `owner` - private to the user, `authenticated` - ac
First, [configure SSH](../ides.md#ssh-configuration) on your
local machine. Then, use `ssh` to forward like so:
```console
```shell
ssh -L 8080:localhost:8000 coder.myworkspace
```