From 4170c4126d55b0b43c5a836aba98f044e35e5747 Mon Sep 17 00:00:00 2001 From: Christoph <98811118+netcupChristophW@users.noreply.github.com> Date: Mon, 16 Oct 2023 17:23:47 +0200 Subject: [PATCH] Update TEMPLATE.md --- TEMPLATE.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/TEMPLATE.md b/TEMPLATE.md index 621fad6..ee3769e 100644 --- a/TEMPLATE.md +++ b/TEMPLATE.md @@ -50,7 +50,11 @@ After provisioning of the server and the first login with the username `root` an 3. It is recommended to set up an SSH key at this point and to disallow password login for the root user. These procedures are not part of this tutorial and as the latter functionality requires root capability, the setup of an unprivileged user is omitted at this point. # Step 3 - Configuration of SSH daemon -SSH daemon usually listens on port 22. To make it accessible even from restricted networks, it is configured to listen also on ports 443 (HTTPS) and 80 (HTTP). These ports are usually less restricted or not restricted at all, so there is a good chance that they can be used to gain free access to the proxy and thus to the internet. + +> **Info** +> Note that the SSH daemon usually listens on port 22. + +To make it accessible even from restricted networks, it is configured to listen also on ports 443 (HTTPS) and 80 (HTTP). These ports are usually less restricted or not restricted at all, so there is a good chance that they can be used to gain free access to the proxy and thus to the internet. 1. Open the file `/etc/ssh/sshd_config` in an editor like `vi` or `nano`. 2. Search for the line `port 22`. It probably starts with a `#` to indicate that this is the basic configuration.