Some pronounced warning
This commit is contained in:
parent
6cfae9993b
commit
de8c29591b
6
setup.md
6
setup.md
@ -34,6 +34,9 @@ firewall-cmd --add-service=ssh --permanent &&
|
||||
firewall-cmd --reload
|
||||
```
|
||||
|
||||
⚠️⚠️⚠️ `drop` zone will just drop all traffic if you dont configure it to use `public` zone like we show in [Firewall](firewall.md) section. If connections time out this is likely the reason. ⚠️⚠️⚠️
|
||||
|
||||
|
||||
## Unattended upgrades
|
||||
|
||||
```sh
|
||||
@ -87,10 +90,11 @@ nvim .ssh/authorized_keys # paste relevant SSH public keys in here
|
||||
```
|
||||
|
||||
Try opening a new terminal and ssh-ing into `admin` user on the server, it should work.
|
||||
Be sure this is the case before you lock `root` account out.
|
||||
|
||||
### Locking the `root` account
|
||||
|
||||
⚠️⚠️⚠️ Be sure you can SSH with another sudo enabled account like `admin` otherwise you WILL LOCK YOURSELF out of the machine. ⚠️⚠️⚠️
|
||||
|
||||
Go back to `root` account now, otherwise you will need to `sudo` the commands below.
|
||||
The following commands will lock out the root by configuring `/etc/ssh/sshd_config` file.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user