ssh-apt-remove

Remove or purge APT packages from remote hosts via SSH.

6|Updated Apr 17, 2026
One-click install
npx skills add https://github.com/Nightreaver/python-ssh-mcp --skill ssh-apt-remove
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ssh-apt-remove
Source: https://github.com/Nightreaver/python-ssh-mcp/tree/main/skills/ssh-apt-remove
Command: npx skills add https://github.com/Nightreaver/python-ssh-mcp --skill ssh-apt-remove

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the need for a secure and controlled method to remove or purge APT packages from remote hosts, ensuring that package management is performed with precision and safety.

Core Features & Use Cases

  • Package Removal: Safely remove APT packages from remote hosts.
  • Purge Option: Offers the ability to purge package configurations for a clean slate.
  • Access Control: Hidden unless access is explicitly granted, ensuring only authorized actions are performed.
  • Use Case: When a package is no longer required on a server, this Skill can be used to remove it, or to purge it and its configuration files for a complete removal.

Quick Start

Use the ssh_apt_remove skill to remove the 'nginx' package from the host 'web01'.

Frequently Asked Questions about ssh-apt-remove

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

FAQPage Schema
How do I remove APT packages from a remote host via SSH?

You can remove APT packages from a remote host via SSH using an automated skill that executes removal commands over an SSH connection, requiring sudo access to perform the deletion safely on the target server.

Can I purge configuration files when removing APT packages on a remote server?

Yes, you can purge configuration files when removing APT packages on a remote server by using the purge option, which deletes both the package and its associated configuration files completely for a clean slate.

Do I need sudo access to automate package removal on server environments?

Yes, you need sudo access to automate package removal on server environments, as APT package management operations require elevated privileges to modify system software and configurations on the remote host securely.

What is the difference between removing and purging APT packages over SSH?

Removing APT packages over SSH deletes the software binaries while keeping configuration files intact, whereas purging completely removes both the package and its configuration files, providing a clean slate for complete removal.

How to securely manage package deletion on remote hosts without breaking dependencies?

Securely manage package deletion on remote hosts using controlled APT removal commands via SSH, which provide fine-grained control over the process and require explicit access authorization to prevent unauthorized or accidental system changes.