Skip to content

Some scripts for automating and executing repeated tasks on Windows and Debian/RHEL/Fedora (Linux) systems. Made for ease of use and laziness.

Notifications You must be signed in to change notification settings

Stensel8/Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 

Repository files navigation

Scripts Repository

About This Repository

This repository contains a collection of enhanced and complex installer scripts that I use internally for automation (also with Terraform and Ansible). These scripts help me quickly deploy and switch between different versions of NGINX, OpenSSH (as well as Docker, Ansible, Terraform, and Kubernetes) on various systems. The idea is to have a simple, one-command installation that can easily be updated or switched between versions when needed.


How to Run a Script

Run Directly

To run a script directly without saving it, use the following command in a terminal.

Choose between the main branch (stable) or testing branch (latest features) depending on your needs.


MAIN BRANCH (STABLE - RECOMMENDED)

Use the main branch for production environments and stable deployments.

Shell Scripts (.sh) - Main Branch

nginx_installer.sh

This script installs a custom compiled NGINX with OpenSSL 3.5.1 for improved HTTP/3 and QUIC support. The build includes performance optimizations.

nginx_installer.sh - Install

curl -fsSL https://raw.githubusercontent.com/Stensel8/scripts/main/.sh/nginx_installer.sh \
  | sudo env CONFIRM=yes bash -s install

nginx_installer.sh - Verify

curl -fsSL https://raw.githubusercontent.com/Stensel8/scripts/main/.sh/nginx_installer.sh \
  | sudo env CONFIRM=yes bash -s verify

nginx_installer.sh - Remove

curl -fsSL https://raw.githubusercontent.com/Stensel8/scripts/main/.sh/nginx_installer.sh \
  | sudo env CONFIRM=yes bash -s remove

Features:

  • NGINX 1.29.0
  • OpenSSL 3.5.1 with enhanced QUIC support
  • HTTP/3 module enabled
  • Full feature set including mail, stream, and all standard modules

Note: The script will detect existing NGINX installations and offer to remove them before installing the custom build.

openssh_installer.sh - Install

curl -fsSL https://raw.githubusercontent.com/Stensel8/scripts/main/.sh/openssh_installer.sh \
  | sudo env CONFIRM=yes bash -s install

openssh_installer.sh - Verify

curl -fsSL https://raw.githubusercontent.com/Stensel8/scripts/main/.sh/openssh_installer.sh \
  | sudo env CONFIRM=yes bash -s verify

openssh_installer.sh - Remove

curl -fsSL https://raw.githubusercontent.com/Stensel8/scripts/main/.sh/openssh_installer.sh \
  | sudo env CONFIRM=yes bash -s remove

Features:

  • Installs OpenSSH server from system package manager
  • Applies hardened security configuration
  • Generates strong host keys (ED25519 + RSA 3072-bit)
  • Removes weak legacy keys (DSA, ECDSA)
  • Enforces modern cryptographic algorithms
  • Disables insecure features and protocols
  • Compatible with Windows 11 and modern SSH clients

Note: The script installs OpenSSH from the system package manager and applies security hardening. It will warn if run over SSH and provides service management instructions.

docker_installer.sh

curl -fsSL https://raw.githubusercontent.com/Stensel8/scripts/main/.sh/docker_installer.sh | sudo bash

ansible_installer.sh

curl -fsSL https://raw.githubusercontent.com/Stensel8/scripts/main/.sh/ansible_installer.sh | sudo bash

terraform_installer.sh

curl -fsSL https://raw.githubusercontent.com/Stensel8/scripts/main/.sh/terraform_installer.sh | sudo bash

kubernetes_installer.sh

curl -fsSL https://raw.githubusercontent.com/Stensel8/scripts/main/.sh/kubernetes_installer.sh | sudo bash

PowerShell Scripts (.ps1) - Main Branch

Enable-WinRM.ps1

Features: Configures Windows Remote Management (WinRM) for PowerShell remoting with security considerations

irm https://raw.githubusercontent.com/Stensel8/scripts/main/.ps1/Enable-WinRM.ps1 | iex

configure-Windows-VM.ps1

Features: Optimizes Windows VMs by disabling unnecessary services and features (tested on Windows 11 and Server 2025)

irm https://raw.githubusercontent.com/Stensel8/scripts/main/.ps1/configure-Windows-VM.ps1 | iex

install-vmware-workstation-with-vagrant.ps1

Features: Automated setup for VMware Workstation with Vagrant integration and Go development environment

irm https://raw.githubusercontent.com/Stensel8/scripts/main/.ps1/install-vmware-workstation-with-vagrant.ps1 | iex

TLS-checker.ps1

Features: Comprehensive TLS & HTTP feature tester with compression, TLS versions, HTTP versions, QUIC, and HSTS testing

irm https://raw.githubusercontent.com/Stensel8/scripts/main/.ps1/TLS-checker.ps1 | iex

TESTING BRANCH (LATEST FEATURES)

Use the testing branch to access the latest features and improvements.
Note: Testing branch may be less stable and is recommended for development environments.

Shell Scripts (.sh) - Testing Branch

nginx_installer.sh (Testing)

curl -fsSL https://raw.githubusercontent.com/Stensel8/scripts/testing/.sh/nginx_installer.sh \
  | sudo env CONFIRM=yes bash -s install

Verify

curl -fsSL https://raw.githubusercontent.com/Stensel8/scripts/testing/.sh/nginx_installer.sh \
  | sudo env CONFIRM=yes bash -s verify

Remove

curl -fsSL https://raw.githubusercontent.com/Stensel8/scripts/testing/.sh/nginx_installer.sh \
  | sudo env CONFIRM=yes bash -s remove

openssh_installer.sh (Testing)

curl -fsSL https://raw.githubusercontent.com/Stensel8/scripts/testing/.sh/openssh_installer.sh \
  | sudo env CONFIRM=yes bash -s install

Verify

curl -fsSL https://raw.githubusercontent.com/Stensel8/scripts/testing/.sh/openssh_installer.sh \
  | sudo env CONFIRM=yes bash -s verify

Remove

curl -fsSL https://raw.githubusercontent.com/Stensel8/scripts/testing/.sh/openssh_installer.sh \
  | sudo env CONFIRM=yes bash -s remove

docker_installer.sh (Testing)

curl -fsSL https://raw.githubusercontent.com/Stensel8/scripts/testing/.sh/docker_installer.sh | sudo bash

ansible_installer.sh (Testing)

curl -fsSL https://raw.githubusercontent.com/Stensel8/scripts/testing/.sh/ansible_installer.sh | sudo bash

terraform_installer.sh (Testing)

curl -fsSL https://raw.githubusercontent.com/Stensel8/scripts/testing/.sh/terraform_installer.sh | sudo bash

kubernetes_installer.sh (Testing)

curl -fsSL https://raw.githubusercontent.com/Stensel8/scripts/testing/.sh/kubernetes_installer.sh | sudo bash

PowerShell Scripts (.ps1) - Testing Branch

Enable-WinRM.ps1 (Testing)

Features: Configures Windows Remote Management (WinRM) for PowerShell remoting with security considerations

irm https://raw.githubusercontent.com/Stensel8/scripts/testing/.ps1/Enable-WinRM.ps1 | iex

configure-Windows-VM.ps1 (Testing)

Features: Optimizes Windows VMs by disabling unnecessary services and features (tested on Windows 11 and Server 2025)

irm https://raw.githubusercontent.com/Stensel8/scripts/testing/.ps1/configure-Windows-VM.ps1 | iex

install-vmware-workstation-with-vagrant.ps1 (Testing)

Features: Automated setup for VMware Workstation with Vagrant integration and Go development environment

irm https://raw.githubusercontent.com/Stensel8/scripts/testing/.ps1/install-vmware-workstation-with-vagrant.ps1 | iex

TLS-checker.ps1 (Testing)

Features: Comprehensive TLS & HTTP feature tester with compression, TLS versions, HTTP versions, QUIC, and HSTS testing

irm https://raw.githubusercontent.com/Stensel8/scripts/testing/.ps1/TLS-checker.ps1 | iex

About

Some scripts for automating and executing repeated tasks on Windows and Debian/RHEL/Fedora (Linux) systems. Made for ease of use and laziness.

Resources

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •