# Vps Host Ssh

> Run commands on the VPS host OS via preconfigured SSH from the mgarlbot container

- **Type:** Skill
- **Install:** `agentstack add skill-frontier-ai-next-mgarlbot-vps-host-ssh`
- **Verified:** Pending review
- **Seller:** [frontier-ai-next](https://agentstack.voostack.com/s/frontier-ai-next)
- **Installs:** 0
- **Category:** [Cloud & Infrastructure](https://agentstack.voostack.com/c/cloud-infrastructure)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [frontier-ai-next](https://github.com/frontier-ai-next)
- **Source:** https://github.com/frontier-ai-next/mgarlbot/tree/main/skills/vps_host_ssh

## Install

```sh
agentstack add skill-frontier-ai-next-mgarlbot-vps-host-ssh
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

## VPS host — always via `ssh`, never “bare” `apt` inside the bot container

When the user asks to **install a package on the VPS**, **run a command on the server**, **apt on the host**, etc. — **do not ask** for IP, login, or distro unless they volunteered it. Assume access is already wired.

### Fixed wrapper

Use **one `shell` invocation**:

```bash
ssh -F /data/.ssh/config vps 'REMOTE_COMMAND_HERE'
```

- Host alias **`vps`**, config **`/data/.ssh/config`**, keys and **`UserKnownHostsFile`** live on the mounted `/data` volume (on the host: mgarlbot data dir).

**Non-interactive apt** on Debian/Ubuntu:

```bash
ssh -F /data/.ssh/config vps 'DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y PACKAGE_NAME'
```

After install, verify: `ssh -F /data/.ssh/config vps 'command -v NAME || NAME --version'`.

### Do not confuse with the container

- `apt install` **without** `ssh ... vps` installs into the **container** (often fails without root). For the **host**, always prefix **`ssh -F /data/.ssh/config vps '...'`**.
- `docker` / `docker compose` against the **host daemon** — use the compose/socket setup on that machine, **not** this SSH wrapper, unless the user asked for OS-level edits on the host.

### Rules

- Never paste private keys or secret material from `~/.ssh`.
- Do not suggest destructive host commands (`rm -rf /`, disk wipe, etc.).

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [frontier-ai-next](https://github.com/frontier-ai-next)
- **Source:** [frontier-ai-next/mgarlbot](https://github.com/frontier-ai-next/mgarlbot)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: flagged — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-frontier-ai-next-mgarlbot-vps-host-ssh
- Seller: https://agentstack.voostack.com/s/frontier-ai-next
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
