Skip to content

Hosts for approved fixes

An approved fix plan runs its commands over SSH, one at a time, only on hosts you have explicitly opened to it. Each such host is an SSH provider with Allow approved fixes turned on.

  1. On the host, create a user for AVACOM with only the rights the fixes need. For example, give it sudo for the few commands it should run, not a full root shell.

  2. In AVACOM, open Providers, choose SSH and fill in:

    Field Value
    SSH hostname The host, exactly as the RCA names it, for example db-core-01 (or its full name)
    SSH user The user from step 1
    SSH port Default 22
    SSH private key or SSH password An RSA private key file, or a password
    Allow approved fixes On
  3. Press Connect.

A fix step for db-core-01 then runs through this provider, and the plan shows it as db-core-01 · SSH (provider name as user@host).

  • One simple command per step. Commands that chain, pipe, redirect or substitute are left to a person, and so are programs that can delete data, stop machines, change accounts or fetch code. The full list is on Fix approval.
  • Each command has five minutes. Its exit code and output are stored on the step and in the incident’s activity.
  • The run stops at the first command that fails.
The plan says Why
No SSH provider for host allows approved fixes. No SSH provider matches the host, or Allow approved fixes is off
More than one SSH provider matches host; say which machine it is. Two providers match: edit the step’s host to the exact one
Commands do not run over SSH while the server runs without sign-in. AUTH_TYPE=NOAUTH: fixes run only when people sign in