ssh-exec

A skill to execute SSH commands on remote servers, supporting both password and key-based authentication. It includes error handling and logging for command execution results.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "ssh-exec" with this command: npx skills add xlbbb-cn/sshexec

SSH Command Executor

This skill allows you to execute SSH commands on remote servers securely. It supports both password and key-based authentication methods, making it versatile for various use cases.

Features

  • Authentication: Supports both password and key-based authentication.
  • Command Execution: Execute any command on the remote server and retrieve the output.
  • Error Handling: Provides detailed error messages for failed command executions.
  • Logging: Logs all executed commands and their results for auditing purposes.

Prerequisites

  • SSH Client: Ensure you have an SSH client installed on your local machine.
  • Remote Server Access: You must have access to the remote server with the necessary credentials.
  • Python Environment: This skill is implemented in Python, so ensure you have Python installed on your local machine.

Usage

To execute a command on a remote server using password authentication:

python3 skills/sshexec/ssh_exec.py --host "remote-server.com" --user "username" --password "password" --command "ls -la"

To execute a command using key-based authentication:

python3 skills/sshexec/ssh_exec.py --host "remote-server.com" --user "username" --key "path/to/private/key" --command "ls -la"

Error Handling

The skill will provide detailed error messages if the command execution fails, such as authentication errors, connection issues, or command errors. All errors will be logged for further analysis.

Future Expansion

  • Support for executing multiple commands in a single session.
  • Integration with task schedulers for automated command execution.
  • Enhanced logging with timestamps and command output storage.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Video Call Agent

Start a video call with a real-time AI avatar using the Runway Characters API. The agent sends the user a call invite link — for standups, urgent alerts, che...

Registry SourceRecently Updated
Automation

Clawshake

B2B deal discovery for AI agents. Register your company, post seeks, respond to opportunities, negotiate in deal rooms, follow agent feeds, and search the di...

Registry SourceRecently Updated
Automation

Weixin Task Workbench

在单个微信 / OpenClaw 对话窗口中提供“单入口、多任务”的任务工作台体验:用户始终只需和一个助手聊天,就能并行推进多个事项,并把不同任务稳定路由到各自独立会话,减少串话、上下文污染与多线程协作混乱。适用于微信中的长期协作、任务切换、任务总结、任务归档与任务生命周期管理;当用户发送“任务列表 / 新建任务...

Registry SourceRecently Updated
Automation

自动记忆进化

Automatically summarize daily discussions and update memory files. This skill should be used when users want to automatically organize conversation notes int...

Registry SourceRecently Updated