vps_host_ssh
Skill17 starsChanged 4 months agoMITView on GitHub
Run commands on the VPS host OS via preconfigured SSH from the mgarlbot container
- Reads credentials
- Deletes or force-pushes
- Installs packages
In this repository12 other files it gives its agents.
- app_controlSkill
- aws_opsSkill
- code_executionSkill
- desktop_automationSkill
- docker_deploySkill
- file_operationsSkill
- gitlab_apiSkill
- gitlab_pages_ciSkill
- ops_dns_regruSkill
- ops_reverse_proxySkill
- ops_tmux_remote_deploySkill
- system_infoSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 11
When the user asks to install a package on the VPS, run a command on the server, apt on the host, etc.
- Very specific: line 15
Use one shell invocation:
- Very specific: line 29
After install, verify: ssh -F /data/.ssh/config vps 'command -v NAME || NAME --version'.
- Very specific: line 38
Never paste private keys or secret material from ~/.ssh.
- Very specific: line 39
Do not suggest destructive host commands (rm -rf /, disk wipe, etc.).
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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:
ssh -F /data/.ssh/config vps 'REMOTE_COMMAND_HERE'- Host alias
vps, config/data/.ssh/config, keys andUserKnownHostsFilelive on the mounted/datavolume (on the host: mgarlbot data dir).
Non-interactive apt on Debian/Ubuntu:
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 installwithoutssh ... vpsinstalls into the container (often fails without root). For the host, always prefixssh -F /data/.ssh/config vps '...'.docker/docker composeagainst 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.).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

