aboutsummaryrefslogtreecommitdiff
path: root/src/sshd
diff options
context:
space:
mode:
authorAchille Merendino <achillemerendino@outlook.com>2022-09-10 01:02:45 +0300
committerGitHub <noreply@github.com>2022-09-10 01:02:45 +0300
commitb7b5d8b1c02f6a8755c880d6f615115760462c8b (patch)
tree53911ab689ff3da6a018905008c3b65a4154d593 /src/sshd
parente90f4f9e0a327466254f3f1693fbe75aaa2a862f (diff)
Change sshd port from 22 to 2222 in README.md (#147)
* Change sshd port from 22 to 2222 in README.md According to https://github.com/devcontainers/features/blob/e90f4f9e0a327466254f3f1693fbe75aaa2a862f/src/sshd/install.sh#L12 the default port is 2222 and not 22 as previously documented. Forwarding port 22 does not in fact work. * Changed sshd port in NOTES.md
Diffstat (limited to 'src/sshd')
-rw-r--r--src/sshd/NOTES.md4
-rw-r--r--src/sshd/README.md2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/sshd/NOTES.md b/src/sshd/NOTES.md
index c80a732..3126a1b 100644
--- a/src/sshd/NOTES.md
+++ b/src/sshd/NOTES.md
@@ -16,7 +16,7 @@ While the some services automates SSH setup (e.g., when using the GitHub CLI for
passwd
```
-3. Forward the SSH port (`22` by default) to your local machine using either the `forwardPorts` property in `devcontainer.json` or the user interface in your tool (e.g., you can press <kbd>F1</kbd> or <kbd>Ctrl/Cmd</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> and select **Ports: Focus on Ports View** in VS Code to bring it into focus).
+3. Forward the SSH port (`2222` by default) to your local machine using either the `forwardPorts` property in `devcontainer.json` or the user interface in your tool (e.g., you can press <kbd>F1</kbd> or <kbd>Ctrl/Cmd</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> and select **Ports: Focus on Ports View** in VS Code to bring it into focus).
4. Use a **local terminal** (or other tool) to connect to it using the command and password from step 2. e.g.
@@ -59,4 +59,4 @@ While the some services automates SSH setup (e.g., when using the GitHub CLI for
```
...where `vscode` above is the user you are running as in the container and `2222` after the `!` is the same local port you used in the `ssh` command in the previous seciton.
-4. Your dev container's filesystem should now be available in the `~/sshfs/devcontainer` folder on macOS or Linux or in a new explorer window on Windows. \ No newline at end of file
+4. Your dev container's filesystem should now be available in the `~/sshfs/devcontainer` folder on macOS or Linux or in a new explorer window on Windows.
diff --git a/src/sshd/README.md b/src/sshd/README.md
index c8e95e8..1a98531 100644
--- a/src/sshd/README.md
+++ b/src/sshd/README.md
@@ -37,7 +37,7 @@ While the some services automates SSH setup (e.g., when using the GitHub CLI for
passwd
```
-3. Forward the SSH port (`22` by default) to your local machine using either the `forwardPorts` property in `devcontainer.json` or the user interface in your tool (e.g., you can press <kbd>F1</kbd> or <kbd>Ctrl/Cmd</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> and select **Ports: Focus on Ports View** in VS Code to bring it into focus).
+3. Forward the SSH port (`2222` by default) to your local machine using either the `forwardPorts` property in `devcontainer.json` or the user interface in your tool (e.g., you can press <kbd>F1</kbd> or <kbd>Ctrl/Cmd</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> and select **Ports: Focus on Ports View** in VS Code to bring it into focus).
4. Use a **local terminal** (or other tool) to connect to it using the command and password from step 2. e.g.