📜 Scripts Repository

Automated server setup and management scripts

Available Scripts

create-user.sh Featured
Complete SSH user setup with key authentication, sudo configuration, and security hardening
curl -fsSL https://scripts.jans.dev/create-user.sh | sudo bash -s -- username "<\ssh-key>" 2222 yes
All docker install steps for Ubuntu in one install package (this is temporary until I make a proper setup script)
curl -fsSL https://scripts.jans.dev/docker-install-ubuntu.sh | sh
Comprehensive VPS maintenance script: APT updates, Docker cleanup, kernel removal, log cleanup, snap cleanup, and system health checks
curl -fsSL https://scripts.jans.dev/vps-maintenance.sh | sudo bash -s -- --exec
Useful shell aliases and functions for Docker commands and common operations
source <(curl -fsSL https://scripts.jans.dev/quick-aliases.sh)

About

This is a collection of shell scripts for automating common server setup and management tasks. All scripts include error handling, rollback capabilities, and comprehensive validation.

View on GitHub →

Quick Start

Option 1: Pipe directly to bash (quick)

curl -fsSL https://scripts.jans.dev/script-name.sh | sudo bash -s -- [arguments]

Option 2: Download and inspect first (recommended)

curl -fsSL https://scripts.jans.dev/script-name.sh -o script.sh
cat script.sh  # Review the script
sudo bash script.sh [arguments]