We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57f8fc5 commit 2d2cc74Copy full SHA for 2d2cc74
_posts/2022-12-18-lxc-setup.md
@@ -25,9 +25,9 @@ apt install curl nano openssl rsync sudo -y
25
It is critical that you don't use root for SSH or for typical CLI tasks. I always create a new user for that reason.
26
27
```bash
28
-useradd -m -g users -G sudo <username>
29
-passwd <username>
30
-chsh -s /bin/bash <username>
+useradd -m -g users -G sudo patrick
+passwd patrick
+chsh -s /bin/bash patrick
31
```
32
33
## SSH Configuration
@@ -49,7 +49,7 @@ MaxSessions 2
49
-----
50
51
# To disable tunneled clear text passwords, change to no here!
52
-PasswordAuthentication yes
+PasswordAuthentication no
53
PermitEmptyPasswords no
54
55
0 commit comments