ssh-remote-connection
БесплатноЗапускает вложенные скриптыНе проверенSSH connection to remote servers. Use when you need to execute commands on a remote server, check logs, restart services, or manage Docker containers.
Об этом скилле
SSH Remote Connection
Universal skill for connecting to remote servers via SSH.
Usage
# Interactive shell
scripts/connect.sh
# Run command directly
scripts/connect.sh "docker compose logs backend --tail 50"
Setup
For Claude Code (local)
Copy config template:
cp config/.env.example config/.envFill in
config/.envwith actual valuesKey-based authentication:
SSH_HOST=your-server.example.com SSH_USER=ubuntu SSH_AUTH_METHOD=key SSH_KEY_PATH=/absolute/path/to/private/key SSH_KEY_PASSWORD= SERVER_PROJECT_PATH=/path/to/projectPassword-based authentication:
SSH_HOST=your-server.example.com SSH_USER=ubuntu SSH_AUTH_METHOD=password SSH_PASSWORD='your account password' SERVER_PROJECT_PATH=/path/to/projectMake script executable:
chmod +x scripts/connect.sh
For Cloud Runtime
Set environment variables in your cloud configuration:
SSH_HOST— server hostname or IPSSH_USER— SSH usernameSSH_PORT— SSH port (optional)SSH_AUTH_METHOD—auto,key, orpassword(optional, defaults toauto)SSH_KEY_PATH— path to private key for key authenticationSSH_KEY_PASSWORD— key passphrase (optional)SSH_PASSWORD— SSH account password for password authenticationSERVER_PROJECT_PATH— project directory on server
For password authentication, the local runtime must have either sshpass or expect.
If the host key is not trusted yet, connect once manually or add the host to known_hosts
before running non-interactive commands.
Important Notes
- Git operations: Do NOT run
git pullon the server. User will handle git sync manually. - Code location: Code is in a private repo, changes must be pushed first then pulled by user.
- Docker: Use
docker compose(notdocker-compose) on the server.
Example Commands
# View logs
scripts/connect.sh "docker compose logs backend --tail 100"
# Restart service
scripts/connect.sh "docker compose restart backend"
# Rebuild and restart
scripts/connect.sh "docker compose build backend && docker compose up -d backend"
# Check status
scripts/connect.sh "docker compose ps"
Установить ssh-remote-connection в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл ssh-remote-connection?
SSH connection to remote servers. Use when you need to execute commands on a remote server, check logs, restart services, or manage Docker containers.
Как установить скилл ssh-remote-connection?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ssh-remote-connection запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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