remote-server-executor

Execute Python and R scripts on remote SSH servers with Paramiko.

1|Updated Dec 3, 2025
One-click install
npx skills add https://github.com/Ketomihine/my_skills --skill remote-server-executor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: remote-server-executor
Source: https://github.com/Ketomihine/my_skills/tree/main/remote-server-executor
Command: npx skills add https://github.com/Ketomihine/my_skills --skill remote-server-executor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the manual overhead of managing and executing tasks on remote SSH servers by providing a cohesive framework for robust remote connections, command execution, file transfers, and environment management.

Core Features & Use Cases

  • SSH connection management: fast, reliable Paramiko-based SSH connections with error handling and connection optimization.
  • Remote code execution & file operations: run Python and R code on remote hosts, upload/download files, and manage remote environments (Condas/R packages).
  • Performance benchmarking: compare Paramiko vs sshpass for execution speed and resource usage across biomedical data workflows.
  • Use Case: a data scientist runs large-scale analyses on distant servers, benchmarks SSH methods, and streams results back for rapid decision-making.

Quick Start

  1. Start the skill by running: python3 remote-server-executor.py
  2. Connect to the default server and run a simple shell command, e.g., ls -la
  3. Upload a file, then execute a Python/R snippet remotely and fetch results.

Frequently Asked Questions about remote-server-executor

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

FAQPage Schema
How do I execute Python and R scripts on a remote SSH server?

Execute Python and R scripts on a remote SSH server by establishing a Paramiko-based connection, running commands remotely, and capturing real-time output streams directly from the distant host.

What is the best way to manage remote Conda and R package environments via SSH?

Remote environment management via SSH allows you to handle Conda and R package installations on distant machines, ensuring your biomedical data workflows run in the correct deterministic computational environment.

How does Paramiko compare to sshpass for remote execution speed?

Paramiko provides robust SSH control with error handling, while performance benchmarking compares Paramiko against sshpass to measure execution speed and resource usage across biomedical data workflows.

Can I upload and download files to a remote server during task execution?

Yes, you can transfer files by uploading data to and downloading results from remote hosts over SSH, enabling seamless file operations alongside your remote code execution and environment management tasks.

Does remote SSH execution handle deterministic task processing and error capture?

Remote SSH execution ensures deterministic remote task processing with robust error handling, capturing real-time output streams to manage large-scale analyses and streamline rapid decision-making.