ssh_cp

Automate secure file copying between remote hosts via SSH.

6|Updated Apr 17, 2026
One-click install
npx skills add https://github.com/Nightreaver/python-ssh-mcp --skill ssh-cp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ssh_cp
Source: https://github.com/Nightreaver/python-ssh-mcp/tree/main/skills/ssh-cp
Command: npx skills add https://github.com/Nightreaver/python-ssh-mcp --skill ssh-cp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill solves the problem of securely copying files between remote hosts, ensuring that files are copied accurately and safely without the need for manual intervention.

Core Features & Use Cases

  • Secure File Transfer: Copy files from one remote host to another securely.
  • Path Allowlisting: Ensures that only files within allowed paths can be copied.
  • Use Case: Copy a backup file from a production server to a backup server without the risk of copying sensitive files or files outside the allowed paths.

Quick Start

Use the ssh_cp skill to copy the file '/var/log/syslog' from 'web01' to 'backup-server'.

Frequently Asked Questions about ssh_cp

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

FAQPage Schema
How do I copy files securely between remote POSIX hosts?

Secure file transfer between remote POSIX hosts is automated using SSH for connectivity and the cp command for copying. This ensures files are accurately and safely copied between servers without manual intervention.

What is path allowlisting for secure file transfer?

Path allowlisting in secure file transfer restricts copying to only approved directories. This mechanism ensures sensitive files outside allowed paths cannot be copied, preventing unauthorized access during remote host operations.

Do I need SSH installed on both hosts to copy files remotely?

Yes, SSH is required on both the source and destination hosts to copy files remotely. The system also requires the cp command to be installed on both POSIX-compliant machines for secure file transfer to function.

Can I copy a backup file from a production server to a backup server securely?

Copying a backup file from a production server to a backup server is supported through secure SSH connectivity. Path allowlisting ensures only designated files are transferred, protecting sensitive data outside allowed paths.

What is the best way to automate remote copy without manual intervention?

Automating remote copy without manual intervention is achieved by leveraging SSH and cp commands on POSIX-compliant hosts. This approach securely transfers files across servers while enforcing path allowlisting for safety.

Why use path allowlisting when copying files across remote hosts?

Path allowlisting is used when copying files across remote hosts to enforce security boundaries. It guarantees that only files within explicitly allowed paths are transferred, preventing accidental or unauthorized copying of sensitive files.