Skip to content
Supporting clients since 2024 · 15 years of IT experience
Docs menuProduction safety

Production safety

Mark a host or a whole workspace as production and CybexConnect marks its terminals with a red line, asks you to type the host name before risky commands, and confirms every multi-line paste.

Updated · Describes CybexConnect 1.3.2

Turning it on#

  • For a workspace: tick Production in its settings. All its hosts follow.
  • For one host: Edit host then Safety then Production host, set to Yes, No, or follow its workspace. A host's own choice wins.

What changes#

WhereWhat happens
TerminalA red line along the top, so you always know where you are.
Risky commandPressing Enter shows the command and why it's risky; you type the host name to run it.
PasteEvery paste with more than one line asks first, whatever the paste setting says.
BroadcastRunning on any production host needs you to type production.
ConnectingOptional: ask for Windows Hello first. One confirmation covers 5 minutes.

What counts as risky#

The check runs on the command you typed after the prompt. It asks before commands that:

  • delete files (rm -rf and friends);
  • change the system: services, packages, users, the firewall, shutdown and reboot;
  • drop or truncate tables, databases, schemas or indexes;
  • DELETE FROM a table with no WHERE;
  • force-push with git;
  • change permissions recursively;
  • write to a raw disk, empty Redis (FLUSHALL, FLUSHDB) or are a fork bomb.

Requiring Windows Hello#

In a production workspace's settings, tick Ask for Windows Hello before connecting. Windows Hello must be turned on in Settings then Security first.

Still stuck?

Tell us what you tried and what you saw. The people who build CybexConnect answer support requests.