ssh
/ssh
Pracuje na zdalnych serwerach przez SSH i SFTP: sprawdza logi, uruchamia polecenia, przesyła i edytuje pliki oraz diagnozuje.
- Autor
- ayasy-el ↗
- Repozytorium
- ssh_mcp ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 09.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 09.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Pracuje na zdalnych serwerach przez SSH i SFTP: sprawdza logi, uruchamia polecenia, przesyła i edytuje pliki oraz diagnozuje.
Oryginalny opis (EN)
Interact with remote servers via SSH & SFTP tools (mcp__ssh__ssh_exec, mcp__ssh__ssh_system_info, mcp__ssh__ssh_read_file, mcp__ssh__ssh_write_file, mcp__ssh__ssh_list_dir, mcp__ssh__ssh_stat). Use when the user asks to inspect a remote server, run commands on an SSH host, view remote logs, transfer or edit remote files, or perform remote deployments and troubleshooting.
Jak działa
- Direct Tool Invocation (Zero-Discovery)
- Standard Workflows & Best Practices
Podgląd SKILL.md
---
name: ssh
description: Interact with remote servers via SSH & SFTP tools (mcp__ssh__ssh_exec, mcp__ssh__ssh_system_info, mcp__ssh__ssh_read_file, mcp__ssh__ssh_write_file, mcp__ssh__ssh_list_dir, mcp__ssh__ssh_stat). Use when the user asks to inspect a remote server, run commands on an SSH host, view remote logs, transfer or edit remote files, or perform remote deployments and troubleshooting.
allowed-tools:
- mcp__ssh__ssh_exec
- mcp__ssh__ssh_system_info
- mcp__ssh__ssh_read_file
- mcp__ssh__ssh_write_file
- mcp__ssh__ssh_list_dir
- mcp__ssh__ssh_stat
---
# Remote Server Management via SSH & SFTP
This skill provides operational guidance, workflows, and tool instructions for administering remote servers connected through `ssh-mcp`.
## Direct Tool Invocation (Zero-Discovery)
All tools are immediately accessible under the `mcp__ssh__*` namespace.
**Do NOT call `searchTools()` or search discovery functions.** Invoke the tools directly:
| Tool Name | Purpose | Example Parameters |
|---|---|---|
| `mcp__ssh__ssh_system_info` | Snapshot of OS, kernel, CPU cores, RAM, and root disk | `{}` |
| `mcp__ssh__ssh_exec` | Execute shell command on remote machine | `{ command: "uptime", cwd?: "/var/www" }` |
| `mcp__ssh__ssh_read_file` | Read remote file via SFTP (paginated) | `{ path: "/etc/os-release", limit: 50 }` |
| `mcp__ssh__ssh_write_file` | Write or append file via SFTP | `{ path: "/tmp/test.txt", content: "...", mode: "overwrite" }` |
| `mcp__ssh__ssh_list_dir` | Structured directory listing (JSON metadata) | `{ path: "/var/log" }` |
| `mcp__ssh__ssh_stat` | Check file existence, size, and permissions | `{ path: "/etc/hosts" }` |
### Calling from Codemode
If executing inside a `codemode` script, invoke `tools.mcp__ssh__<name>` directly:
```javascript
// Example: Run uptime directly
const res = await tools.mcp__ssh__ssh_exec({ command: "uptime" });
const out = JSON.parse(res.content[0].text);
text(out.stdout);
// Example: Get system info
const info = await tools.mcp__ssh__ssh_system_info({});
text(JSON.stringify(info, null, 2));
```
---
## Standard Workflows & Best Practices
### 1. Server Reconnaissance & Health Checks
- For uptime, specs, memory, or disk usage, call `mcp__ssh__ssh_system_info` or `mcp__ssh__ssh_exec({ command: "uptime" })` on your first turn.
- Reports OS distribution, kernel, CPU cores, free RAM, and root disk in a single turn without wasting shell execution tokens.
### 2. File Inspection & Token-Efficient Reading
- Use `mcp__ssh__ssh_list_dir` instead of `mcp__ssh__ssh_exec({ command: "ls -la" })` to get clean JSON with sizes, permissions, and timestamps.
- When viewing logs or config files, call `mcp__ssh__ssh_read_file` with `limit: 50` or `100` rather than running `cat`. This prevents flooding your context window on large files.
- To read next chunks, pass `offset: <next_line>` based on the `has_more` response.
### 3. File Modification & Deployment
- Always inspect the existing file content using `mcp__ssh__ssh_read_file` before writing.
- Use `mcp__ssh__ssh_write_file` with `mode: "overwrite"` or `"append"`.
- For git or project directories, use `mcp__ssh__ssh_exec` with the `cwd` parameter pointing to the project folder rather than chaining multiple `cd <dir> && ...` commands.
### 4. Handling High-Risk Operations
- Commands matching high-risk signatures (e.g. `sudo`, `systemctl restart`, `kill`, recursive deletions, or modifications to `/etc/*`) will pause for operator approval in the `ssh-mcp` TUI if running in `High-Risk HITL` mode.
- Explain clearly what actions you are about to take so the operator can review and approve them on their terminal interface.
- If the server is in `Autonomous (No Approval)` mode, all actions execute immediately.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · ayasy-el/ssh_mcp | 100 | MIT |
| TerminalSkills/skills | 100 | Apache-2.0 |
| OpenHands/extensions | 100 | MIT |
| HelixDevelopment/agent | 100 | MIT |
| Dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations | 100 | MIT |
| Tyler-R-Kendrick/agent-skills | 100 | MIT |
| erixwong/touwaka-ai-mate | 95 | Apache-2.0 |
Migawka bazy z 13.11.2026 · wersja paczki 08013611de96 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90ostiary
Uruchamia polecenia i przesyła pliki na zdalnych serwerach przez narzędzie ostiary, zamiast bezpośrednio przez ssh, scp czy rsync. - 90ssh-gateway
Uruchamia polecenia na zdalnym serwerze, czyta i przesyła pliki oraz dokumentuje serwer przez narzędzia SSH Gateway serwera MCP Athenode. - 90ssh-remote-operations
Wykonuje operacje DevOps na zdalnych serwerach przez konfigurację SSH w katalogu projektu, bez ujawniania kluczy i haseł. - 100pro-ssh
Uruchamia polecenia na zdalnych serwerach przez SSH (AWS EC2, Synology NAS, dowolny host Linux) po zapisanej nazwie albo bezpośrednio przez host, użytkownika i klucz. - 100ssh-remote-connection
Łączy się przez SSH ze zdalnymi serwerami, aby wykonywać polecenia, sprawdzać logi, restartować usługi i zarządzać kontenerami Docker. - 98ssh-remote-desktop
Wdraża pomocnika SSH do zdalnego pulpitu Windows 11, przesyła pliki, uruchamia programy i wykonuje zrzuty ekranu.