ssh-connect
БесплатноЗапускает вложенные скриптыНе проверенUse when you need to SSH into a remote machine to run commands or open an interactive shell using credentials loaded from a .env file (SSH_HOST, SSH_USER, and…
от EricGrill★ 22 звезды на GitHubОб этом скилле
SSH Connect Skill
SSH into remote machines using credentials from .env file - no password prompts.
Setup
- Create
.envfile in project root with your SSH credentials:
# Required
SSH_HOST=192.168.1.100
SSH_USER=ubuntu
# Authentication (choose one)
SSH_KEY_PATH=~/.ssh/id_rsa # Recommended: path to private key
SSH_PASSWORD=your_password # Alternative: password auth
- Ensure Python dependencies are installed:
pip install paramiko python-dotenv
Usage
CLI
# Interactive shell
python .claude/skills/ssh-connect/ssh_connect.py
# Run single command
python .claude/skills/ssh-connect/ssh_connect.py "ls -la"
# Run multiple commands
python .claude/skills/ssh-connect/ssh_connect.py "cd /app && git pull && docker-compose restart"
Python API
from ssh_connect import SSHClient
# Auto-loads from .env
with SSHClient() as ssh:
output = ssh.run("hostname")
print(output)
# Or specify credentials directly
with SSHClient(host="192.168.1.100", user="ubuntu", key_path="~/.ssh/id_rsa") as ssh:
output = ssh.run("uptime")
Environment Variables
| Variable | Required | Description |
|---|---|---|
SSH_HOST |
Yes | Remote hostname or IP |
SSH_USER |
Yes | SSH username |
SSH_PORT |
No | SSH port (default: 22) |
SSH_KEY_PATH |
No* | Path to SSH private key |
SSH_PASSWORD |
No* | SSH password |
*One of SSH_KEY_PATH or SSH_PASSWORD is required.
Security Notes
- Prefer SSH keys over passwords when possible
- Add
.envto.gitignoreto prevent credential leaks - Never commit credentials to version control
Установить ssh-connect в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл ssh-connect?
Use when you need to SSH into a remote machine to run commands or open an interactive shell using credentials loaded from a .env file (SSH_HOST, SSH_USER, and key or password), avoiding interactive password prompts.
Как установить скилл ssh-connect?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ssh-connect запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic