ssh-apt-show

Retrieve Debian package details via SSH using apt-cache show and policy.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The SSH MCP server helps you manage SSH access to multiple hosts while maintaining control over the actions an LLM can perform. This skill specifically addresses the need to quickly view detailed information about a Debian package using apt-cache show and apt-cache policy.

Core Features & Use Cases

  • Combined Details: Retrieve both the apt-cache show and apt-cache policy information for a package in a single call.
  • Version and Dependencies: Get the installed and candidate versions of a package, along with repository sources and dependencies.
  • Use Case: Before upgrading a package, you can use this skill to check the current version, candidate version, and dependencies to ensure a smooth upgrade process.

Quick Start

Use the ssh_apt_show skill to get details about the 'nginx' package on your host 'web01'.

Frequently Asked Questions about ssh-apt-show

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

FAQPage Schema
How do I check Debian package versions and dependencies over SSH?

You can check Debian package details over SSH by retrieving installed and candidate versions, repository sources, and dependencies in a single call using apt-cache show and apt-cache policy on the remote host.

What information does apt-cache policy show for a deb package?

The apt-cache policy command shows candidate and installed versions for a deb package, along with the repository sources it is available from. It helps determine the exact version targeted for installation or upgrades.

Can I view apt-cache details for multiple hosts using SSH?

Yes, you can view apt-cache details for a Debian package across multiple hosts using an SSH MCP server. It requires SSH access to the target host and the availability of the apt-cache command on that machine.

What's the best way to verify package dependencies before an upgrade?

The best way to verify package dependencies before an upgrade is to retrieve combined apt-cache show and apt-cache policy details, allowing you to check current and candidate versions alongside required dependencies for a smooth process.

Do I need root access to run apt-cache commands over SSH?

You do not need root access to run apt-cache commands over SSH. The apt-cache utility queries package metadata and dependencies without modifying the system, so standard SSH access to the host is sufficient.