ssh-netmiko_skill

This skill provides remote SSH session management via MCP_Server_Trigger, enabling creation, execution, health checks, and history retrieval for devices.
  • Python

2.5k

GitHub Stars

2

Bundled Files

2 months ago

Catalog Refreshed

3 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill openclaw/skills --skill ssh-netmiko

  • _meta.json279 B
  • SKILL.md4.3 KB

Overview

This skill exposes a REST-backed SSH management interface for the MCP_Server_Trigger (v0.1.0). It lets you create and close SSH sessions, execute commands remotely, and inspect active and historical session/command records. The skill is designed for automated orchestration, remote troubleshooting, and audit-friendly command execution across network and Linux devices.

How this skill works

The skill communicates with the MCP_Server_Trigger API to manage in-memory SSH sessions and a persistent session history. You can explicitly create sessions or run a command that automatically creates a session when credentials are provided. The service also returns health status and lists of active sessions and historical records for auditing or cleanup.

When to use it

  • Automating configuration or diagnostic commands on network devices (Cisco, Juniper) or Linux servers.
  • Running ad-hoc remote commands without manually opening an SSH client.
  • Maintaining an auditable record of sessions and commands for compliance or incident response.
  • Orchestrating multi-step remote workflows where sessions persist across commands.
  • Checking service health before sending batches of remote operations.

Best practices

  • Provide explicit session_id for multi-step workflows to reuse the same SSH session and collect consistent history.
  • Use least-privilege credentials and rotate passwords regularly; treat stored history as sensitive.
  • Set sensible command timeouts for long-running operations to avoid stuck sessions.
  • Close sessions explicitly after use to free resources and reduce attack surface.
  • Prefer device_type matching (cisco_ios, juniper_junos, linux) for better command handling.

Example use cases

  • Create a session to a Cisco IOS device, run multiple configuration and verification commands, then close the session.
  • Execute a single remote command on a Linux host by passing host, username, and password without pre-creating a session.
  • List active sessions to detect stale connections before scheduling maintenance windows.
  • Query session history to audit which commands were run during a troubleshooting incident.
  • Run a health_check prior to bulk orchestration to ensure the SSH API is available.

FAQ

No. If you pass host, username, and password with the execute_ssh_command call, the service will create a session automatically; use session_id to reuse sessions.

How do I see past commands executed in a session?

Use list_history_commands with the session_id to retrieve the recorded command history for that session.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational