ls-linux-patcher

Automate Linux patching and Docker updates across hosts via SSH.

3|2|Updated Dec 25, 2025
One-click install
npx skills add https://github.com/CruxExperts/localsetup --skill ls-linux-patcher
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ls-linux-patcher
Source: https://github.com/CruxExperts/localsetup/tree/main/_localsetup/skills/ls-linux-patcher
Command: npx skills add https://github.com/CruxExperts/localsetup --skill ls-linux-patcher

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Linux patching and Docker container updates across multiple hosts can be error-prone and time-consuming; this skill automates the process via SSH, supports PatchMon auto-detection, and handles diverse Linux distributions.

Core Features & Use Cases

  • Automated patching: centralizes OS package updates (Ubuntu, Debian, RHEL, AlmaLinux, Rocky, CentOS, Amazon Linux, and SUSE) and optional Docker image updates into a single workflow.
  • PatchMon integration and manual modes: automatically detect hosts needing updates or patch specific hosts on demand.
  • Docker-aware updates: detects Docker presence and manages image pulls and container recreation where applicable; supports dry-run and selective Docker skipping.
  • Secure automation: requires passwordless sudo with restricted commands and SSH key authentication; supports per-host access control and auditing.
  • Quick-start oriented workflows: easy to run with minimal setup and configurable options.

Quick Start

Run the automatic patching workflow with patch-auto.sh to patch all detected hosts from PatchMon.

Frequently Asked Questions about ls-linux-patcher

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Linux patching across multiple hosts with different distributions?

Automate Linux patching across mixed environments by running a central SSH-based workflow that executes package updates for Ubuntu, Debian, RHEL, SUSE, and Amazon Linux hosts from a single script.

Can I update Docker containers and Linux packages at the same time?

Yes, you can update Docker containers and Linux packages simultaneously. The patching workflow detects Docker presence, pulls new images, recreates containers, and supports selective Docker skipping.

Do I need passwordless sudo to automate patching over SSH?

Yes, passwordless sudo is required to automate patching over SSH. The workflow requires SSH key authentication and restricted sudo command privileges to ensure secure, auditable, and per-host access control.

What is the best way to patch only specific Linux hosts instead of all detected servers?

The best way to patch specific Linux hosts is to use the manual per-host workflow mode, which allows you to target individual servers on demand rather than relying on automatic PatchMon-driven detection.

Does this patching workflow support a dry-run mode for testing updates?

Yes, the workflow supports a dry-run mode for testing updates. You can safely simulate OS package updates and Docker container recreation across multiple hosts before applying any actual changes.

Can I use PatchMon to automatically detect which Linux hosts need patching?

Yes, you can use PatchMon to automatically detect which Linux hosts need patching. The automatic workflow integrates with PatchMon to identify target servers and applies necessary OS and Docker updates.