ssh-agentd-control for Openclaw

A specialized tool for managing persistent SSH sessions and remote command execution via a systemd-backed daemon and REST API.

offlinecat-dev
v0.1.0
Mar 2, 2026
0
1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install ssh-agentd-control

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install ssh-agentd-control using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is ssh-agentd-control?

The ssh-agentd-control skill is a robust management interface for the ssh-agentd daemon, a persistent service that facilitates long-running SSH connections and automated remote tasks. By integrating directly with systemd, this skill ensures that your SSH management layer is always available and easily controllable through standardized CLI commands and API endpoints. It is a vital part of the Openclaw Skills library for developers who need reliable, programmatic access to remote infrastructure.

This skill abstracts the complexities of maintaining SSH connectivity, offering secure operations like remote command execution, file uploads, and log monitoring. It utilizes a token-based authentication system to ensure that all interactions with the local daemon are authorized, making it a professional choice for secure devops workflows.

ssh-agentd-control Use Cases

  • Maintaining persistent SSH sessions for long-running remote processes.
  • Executing remote commands via API calls within automated scripts.
  • Monitoring connection health and session metrics for remote clusters.
  • Simplifying the management of SSH-related systemd services on local machines.
  • Securing remote access through validated known_hosts and Bearer Token authentication.

How ssh-agentd-control Works

  1. The skill initializes the ssh-agentd binary as a systemd service to ensure persistence across reboots.
  2. It loads host configurations and credentials from a local YAML file for centralized management.
  3. The daemon opens a local API listener (typically on port 18081) to receive incoming control commands.
  4. API requests are validated using Bearer Tokens and processed to execute actions on remote targets.
  5. Remote connectivity is verified through session health checks and host key validation protocols.

ssh-agentd-control Setup

To get started with this skill, ensure the binary is in the correct path and initialize the service:

sudo systemctl daemon-reload
sudo systemctl enable --now ssh-agentd.service

Verify that the service is running and listening correctly:

sudo systemctl status ssh-agentd.service
ss -ltnp | grep 18081

Ensure your target hosts are defined in the hosts.yaml configuration file located in the Openclaw Skills directory structure.

ssh-agentd-control Data Schema & Taxonomy

The skill utilizes a structured approach to manage daemon state and host data:

Component Location Purpose
Binary ~/.openclaw/workspace-hermes/ssh-agentd/bin/ Core executable for the daemon.
Configuration ~/.openclaw/ssh-agentd/hosts.yaml Host definitions and connection parameters.
Service Unit ssh-agentd.service Systemd configuration for process management.
API Script scripts/api.sh Wrapper for making authenticated REST calls.

ssh-agentd-control Advanced Features

  • Built-in proxy bypass logic to ensure local API calls avoid system-level network interference.
  • Support for real-time log tailing and file uploads directly through API endpoints.
  • Comprehensive metrics endpoint for integration with monitoring dashboards.
  • Advanced session management allowing for the inspection of active connection pools.
  • Enhanced security constraints within Openclaw Skills that prevent sensitive token leakage in configuration files.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*