Skip to content

A one-click script to update and harden your Linux VPS or server. Supports: - Ubuntu - Debian - CentOS - AlmaLinux

License

Notifications You must be signed in to change notification settings

hosteons/Linux-Hardening-Script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Linux Hardening Script

A one-click script to update and harden your Linux VPS or server. Supports:

  • Ubuntu
  • Debian
  • CentOS
  • AlmaLinux

Features

  • System updates
  • SSH port change (with prompt)
  • Fail2Ban & Lynis installation
  • Optional root login disablement
  • Optional new sudo user setup
  • Firewall configuration
  • SELinux handling
  • Quick audit with Lynis

By Hosteons.com

⚠️ Use with caution. Ensure VNC or IPMI access before changing SSH settings.

About

A one-click script to update and harden your Linux VPS or server. Supports: - Ubuntu - Debian - CentOS - AlmaLinux

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages