haiphamhoang / linux-auto-secure

Auto scripts secure you Linux vps/server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What does this script do?

Supported distros Ubuntu, Debian.

  • Automatically generates and configures SSH authentication keys (optional). The private key will be saved under directory ./gensshkey
  • Changes the SSH login port (optional).
  • Installs Hextrixtool monitoring (optional).
  • Installs Docker (optional).
  • Sets the timezone to Asia/Bangkok.
  • Executes update and upgrade commands.

How to use?

wget -O  secure-basic.sh https://raw.githubusercontent.com/haiphamhoang/vps-basic-secure/main/secure-basic.sh
chmod +x secure-basic.sh
./secure-basic.sh

About

Auto scripts secure you Linux vps/server.


Languages

Language:Shell 100.0%