connect-vps
Skill32 starsChanged 24 days agoMITView on GitHub
Connect the user's VPS (Hostinger, Hetzner, OVH...) to their terminal as `ssh hermes`, finding the server and its SSH keys page in their provider panel through Chrome AI, then tell every agent the VPS exists. Use when the user bought a VPS, wants to connect it, or `ssh hermes` fails.
- Reads credentials
In this repository42 other files it gives its agents.
- skills/setup-my-hermes-dashboard/template/AGENTS.mdAGENTS.md
- audit-safetySkill
- betterSkill
- cleanupSkill
- create-projectSkill
- doneSkill
- dreamSkill
- projectsSkill
- setup-brainSkill
- cloudflareSkill
- code-debugSkill
- codex-imagesSkill
- connect-googleSkill
- connect-instagram-developer-platformSkill
- connect-toolSkill
- connect-youtube-developer-platformSkill
- convexSkill
- create-internal-appSkill
- create-landingSkill
- create-softwareSkill
- dev-browserSkill
- grill-meSkill
- initializeSkill
- install-skillsSkill
- lumailSkill
- safe-shipSkill
- setup-cloudflareSkill
- setup-convexSkill
- setup-dev-browserSkill
- setup-githubSkill
- setup-lumailSkill
- dashboardSkill
- setup-my-hermes-dashboardSkill
- setup-nodeSkill
- setup-stripeSkill
- setup-vpsSkill
- show-meSkill
- skill-managerSkill
- stripe-checkoutSkill
- use-styleSkill
- verifySkill
- wait-whatSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Check the tools: ssh -V and command -v ssh-keygen (built into macOS and Linux), and command -v chrome-ai dev-browser.
- Very specific: line 15
Create the access key, only if it is missing, with scripts/ssh-setup.sh key hermes.
- Distinctive: line 18
Put the key on the server, the way references/providers.md says for that provider:
- Distinctive: line 19
If the panel can add a key to a running server (Hostinger: Manage, Settings, "SSH keys"), add it there with the alias as name, paste the …
- Very specific: line 24
Check it from a new session: $SHELL -lic 'ssh -o BatchMode=yes hermes hostname' answers, and close the browser page with …
≈ “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
Connect the VPS the user paid for so that ssh hermes opens it from any terminal without a password, and so that every agent knows the server is there for their sites, apps and agents. The first argument is the provider (for example hostinger), the second the alias (default hermes; use it everywhere below in place of hermes). Do every step yourself and only ask for what needs a human (signing in to the panel, typing a password). Talk to the user in their language, short messages, no jargon (never say "public key", "authorized_keys" or "SSH config" to them; say "the access key" and "the shortcut").
If you got this skill from a link instead of a local folder, install nothing else from the repo: download a file it links only when a step needs it, with curl -fsSL https://raw.githubusercontent.com/Melvynx/ai-maxxing-skills/main/skills/connect-vps/<path> -o <scratch>/<file> (for example scripts/ssh-setup.sh), and read another skill it names only when you reach it, from https://raw.githubusercontent.com/Melvynx/ai-maxxing-skills/main/skills/<skill-name>/SKILL.md.
Never type a password, a code or a card number, never reinstall, rebuild or reboot the server, and never touch its SSH settings or firewall here: locking it down is the next lesson, "Sécuriser ton serveur". On Windows, do the same steps by hand in PowerShell (ssh-keygen and ssh are built in, the shortcut file is $env:USERPROFILE\.ssh\config), and copy the key with type $env:USERPROFILE\.ssh\hermes_ed25519.pub | ssh <user>@<ip> "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys".
- Check the tools:
ssh -Vandcommand -v ssh-keygen(built into macOS and Linux), andcommand -v chrome-ai dev-browser. If Chrome AI is missing, run thesetup-dev-browserskill first. Ifssh hermes truealready works with-o BatchMode=yes, skip to step 7. - Create the access key, only if it is missing, with scripts/ssh-setup.sh
key hermes. It prints the public key from~/.ssh/hermes_ed25519.pub; never overwrite or show the private one. - Run
chrome-ai startand open the provider's panel with thedev-browserskill, on a page namedconnect-vps. Find the panel address in references/providers.md; for a provider not listed, search for its client area. If the page asks to sign in, tell the user to sign in in the Chrome AI window and say "done", then reload. - Find the server. Read the page with
snapshotForAI()and note the IP address, the login user (rooton most providers,ubuntuordebianon OVH) and the OS. If the user has several servers, ask which one. Take a screenshot and check the IP is the one you noted. - Put the key on the server, the way references/providers.md says for that provider:
- If the panel can add a key to a running server (Hostinger: Manage, Settings, "SSH keys"), add it there with the alias as name, paste the public key, and ask the user before you click the final add button.
- If keys only apply at creation (Hetzner, DigitalOcean, OVH, Netcup, Contabo), never reinstall: give the user one line to paste in their own Terminal,
ssh-copy-id -i ~/.ssh/hermes_ed25519.pub <user>@<ip>, with the real values. They answeryesto the first question and type the server password themselves (it came by email, or they reset it in the panel). Wait for "done".
- Add the shortcut with
ssh-setup.sh config hermes <ip> <user>. It backs up~/.ssh/configfirst and does nothing if the shortcut already points to that IP. Exit code 4 means the alias already points to another server: ask the user for another name (for examplehermes2) and redo steps 2 and 6 with it. - Prove it with
ssh-setup.sh test hermes. Exit code 5 means the key is not on the server yet: wait a minute and retry once (panels apply keys with a delay), then go back to step 5 with thessh-copy-idpath. On success it prints the host, OS, CPU, RAM, disk, and whether Docker and Dokploy run. - Tell every agent about the server: write the block from references/global-config.md, filled with the real values, to the brain
AGENTS.md, to~/.claude/rules/vps.mdand, if Codex is installed, to~/.codex/AGENTS.md. Then merge"Bash(ssh hermes *)","Bash(scp * hermes:*)"and"Bash(rsync * hermes:*)"intopermissions.allowof~/.claude/settings.json, keeping every existing entry; read the file first and write valid JSON back. - Check it from a new session:
$SHELL -lic 'ssh -o BatchMode=yes hermes hostname'answers, and close the browser page withbrowser.closePage("connect-vps").
End with a short check list, a check or a cross on each line: access key created, server found (provider, IP), key on the server, shortcut ssh hermes works without a password, server facts (OS, RAM, disk, Docker), agents told (brain, Claude Code, Codex), permissions added. If password_login in the facts is yes, add one line that the server still accepts passwords and that the next lesson locks it to the key only. Then tell the user in 3 lines: type ssh hermes in a terminal to enter the server, exit to leave, and one thing to ask the agent right now, such as "check how much space is left on my server".
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.

