ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 2/5

restssh

Provides access to the MCP_Server_Trigger (v0.1.0) MCP server. It offers 7 tool(s): {"close_ssh_session":"\nFecha uma sessão SSH ativa.\n\nArgs:\n session_id: O ID da sessão a ser fechada.\n","create_ssh_session":"\nCria uma nova sessão SSH explicitamente.\n\nArgs:\n host: Endereço IP ou hostname do dispositivo.\n username: Usuário SSH.\n password: Senha SSH.\n session_id: Identificador único para a nova sessão.\n device_type: Tipo de dispositivo (ex: cisco_ios, linux). Default: cisco_ios.\n port: Porta SSH. Default: 22.\n","execute_ssh_command":"\nExecuta um comando SSH em um dispositivo remoto.\n\nArgs:\n command: O comando a ser executado.\n session_id: ID único da sessão (se não existir, será criada com as credenciais fornecidas).\n host: Endereço IP ou hostname do dispositivo (obrigatório para nova sessão).\n username: Usuário SSH (obrigatório para nova sessão).\n password: Senha SSH (obrigatório para nova sessão).\n device_type: Tipo de dispositivo (ex: cisco_ios, linux, juniper_junos). Default: cisco_ios.\n port: Porta SSH. Default: 22.\n timeout: Timeout opcional para o comando.\n","health_check":"\nVerifica a saúde do serviço API REST SSH.\nRetorna o status atual do serviço.\n","list_active_sessions":"Lista todas as sessões SSH ativas em memória.","list_history_commands":"\nLista o histórico de comandos executados em uma sessão específica.\n\nArgs:\n session_id: O ID da sessão para consultar o histórico.\n","list_history_sessions":"\nLista o histórico de todas as sessões registradas no banco de dados.\nInclui sessões ativas e encerradas.\n"}

Why use this skill?

Efficiently manage remote servers and network hardware with the restssh skill. Execute commands, track session history, and automate network device configurations.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/is-the-king/ssh-netmiko
Or

What This Skill Does

The restssh skill provides a comprehensive bridge between the OpenClaw agent and remote networking hardware or Linux servers via the MCP_Server_Trigger (v0.1.0) architecture. It allows the agent to interact with network devices (such as Cisco IOS or Juniper Junos) and servers by managing persistent SSH sessions. Users can execute remote commands, manage session lifecycles, and audit past actions through a centralized logging system. By utilizing the Netmiko-based underlying technology, it ensures secure and structured communication with remote terminals, abstracting away the complexities of connection handling and session state management.

Installation

To integrate this skill, ensure you have the mcp2skill utility installed globally on your machine. You can obtain this from the official GitHub repository. Once installed, run the following command within your terminal to add the skill to your environment: clawhub install openclaw/skills/skills/is-the-king/ssh-netmiko. Once installed, you can verify its readiness by running mcp2skill list-tools --server restssh to confirm the available tools are accessible to the OpenClaw agent.

Use Cases

This skill is ideal for network administrators and DevOps engineers. Common use cases include:

  • Automating configuration backups for enterprise routers and switches.
  • Running real-time diagnostics on Linux production servers during incidents.
  • Auditing historical command usage to troubleshoot unauthorized or erroneous configuration changes.
  • Managing multiple parallel SSH connections to different subnets for fleet-wide software updates.

Example Prompts

  1. "Open an SSH session to the core-switch at 192.168.1.1 and run 'show interface status' to check for link errors."
  2. "List all active SSH sessions currently managed by the restssh service."
  3. "Show me the command history for the session with ID 'prod-server-01' so I can verify what was executed yesterday."

Tips & Limitations

  • Security: Always use strong, encrypted credentials. Avoid storing passwords in plain text outside of secure secrets managers.
  • Timeouts: Ensure you set appropriate timeout values when executing long-running commands to avoid premature session termination.
  • Session Management: Always use close_ssh_session when a task is complete to free up memory and system resources on the target device and the host machine.
  • Compatibility: While the skill defaults to cisco_ios, verify that your specific hardware supports the selected device_type for optimal output parsing.

Metadata

Stars2287
Views0
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-is-the-king-ssh-netmiko": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#ssh#networking#devops#automation#mcp
Safety Score: 2/5

Flags: network-access, external-api