ssh-mkdir

Create directories on SSH hosts with configurable permissions.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the creation of remote directories on SSH hosts, handling both single directories and entire directory trees, with configurable permissions and parent directory creation.

Core Features & Use Cases

  • Directory Creation: Create a single directory or an entire directory tree.
  • Permission Setting: Specify the directory permissions using octal notation.
  • Parent Directory Handling: Optionally create missing parent directories.
  • Use Case: When deploying applications, this Skill can be used to create necessary directories on remote servers before uploading files or running scripts.

Quick Start

Use the ssh_mkdir skill to create a directory '/var/log/app' with read and write permissions on the host 'web01.example.com'.

Frequently Asked Questions about ssh-mkdir

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

FAQPage Schema
How do I create a directory on a remote server via SSH?

To create a directory on a remote server via SSH, you can automate the process using a Python script that executes commands over an SSH connection. This Skill handles establishing the connection and running the directory creation commands on the target host.

Can I create parent directories automatically when making a remote directory over SSH?

Yes, you can create missing parent directories automatically when making a remote directory over SSH. This Skill supports configuring parent directory creation to build entire directory trees as needed during the remote execution.

How do I set directory permissions on a remote server using SSH?

You can set directory permissions on a remote server using SSH by specifying octal notation within your automation script. This Skill allows you to define exact permission settings for the newly created remote directories.

Do I need Python to create remote directory trees over SSH?

Yes, you need Python to create remote directory trees over SSH with this Skill. It requires Python scripting capabilities on your local machine to execute the automation and manage the SSH connections to your remote hosts.

What is the best way to automate directory creation for remote application deployment?

The best way to automate directory creation for remote application deployment is using an SSH scripting tool that supports building directory trees with specific permissions. This ensures the server environment is prepared before uploading files or running scripts.

Why does my remote directory creation fail when parent paths are missing?

Remote directory creation fails when parent paths are missing because standard commands do not create ancestors by default. You must enable parent directory creation in your SSH script to ensure the entire directory tree is built.