Skip to Content
GuidesUse casesReach a home server

Reach a home server without an SSH key

Your agent looks at a Linux computer at home, a media box or a small server, without an SSH key and without a port opened on your router. It starts able to read only.

When to use this

You would otherwise give an agent an SSH key, which lets it do anything, or open a port to reach the computer from outside.

Steps

  1. Install CMDOP on the server, the same command as on any Mac or Linux computer (quick start). It works over ssh, with no browser.
  2. Run cmdop setup with the email of your account. The server joins your other computers on your page.
  3. Use the agent you already connected (connect an agent). It sees the server the next time it calls machines_list.
  4. Ask for facts first: “What is the memory and disk space on my home server?” (sys_info). Reading files and system facts needs no extra step.
  5. Only when a task needs it, switch on write or exec for that agent (grant risk classes). To keep a class off on this server for every agent, set its ceiling.

Check

machines_list shows the server as online, and sys_info returns its numbers.

If it fails

  • The server is missing: cmdop control status.get on the server says whether the program runs.
  • denied: the agent asked for a class it does not have. That is the default working as meant.

The machine · Pause a machine · Revoke an agent