main
HerrHase 1 year ago
parent 58fc09dc5e
commit 467c7166f5

@ -0,0 +1,23 @@
### Add New User
```
adduser <username>
usermod -aG sudo <username>
```
### Prevent timeout from ssh
```
nano /etc/ssh/sshd_config
```
```
ClientAliveInterval 120
ClientAliveCountMax 720
```
### Check Timezone
```
dpkg-reconfigure tzdata
```

@ -9,8 +9,7 @@ set -o pipefail
set -o nounset
# installing dependencies
apt update
apt upgrade -y
apt update && apt upgrade -y && apt autoremove -y
apt install -y git unzip curl ufw fail2ban cockpit
systemctl start cockpit

Loading…
Cancel
Save