Skip to content
GitHub (opens in a new tab)

FAQ · Connectors and services

Can I let the AI run commands over SSH without giving it a full shell?

Updated

Yes. Give it saved runbooks instead of a shell. The SSH connector has two tools:

  • ssh_run runs a saved runbook: a fixed command with typed, validated parameters, such as a service name. It starts in Read only, and a runbook classified as a change still waits for approval.
  • ssh_exec runs any shell command. It starts in Approval, so you review each command before it runs.

To keep the AI to runbooks only:

  1. Create runbooks in Connectors › Templates › New template › SSH runbook.
  2. Turn on Runbooks only in the connection. ssh_exec is then refused, whatever the policy allows. You can also set ssh_exec to Off on the endpoint.

Parameters can't become shell syntax: GateRook quotes them, and there is no PTY or agent forwarding. GateRook verifies the server's host key before it signs in with a password, a private key or a Vault SSH certificate; production doesn't allow passwords. The account's own permissions on the server still apply, so give it only what the runbooks need. For log files, the SSH log files connector reads only the files you select, with no tool that takes a command.

All questions

Still have a question?

Ask the GateRook team.

Write to support@gaterook.com about setup, security or anything these answers do not cover. Report bugs and suggest features on GitHub.

Get GateRook

Download GateRook 2.0.0 for your Mac, or get the Windows app from Microsoft Store.

macOS

Version 2.0.0 for Apple Silicon (arm64). This download does not support Intel Macs.

Open the DMG and drag GateRook to Applications.

Windows

Available for free from Microsoft Store. Install GateRook and receive updates through the Store.

macOS release notes and checksums (opens in a new tab)

Optional analytics

Google Analytics measures visits and download clicks. You can turn it off here or change your choice later in Analytics settings.

Analytics is currently on.

Privacy Policy & cookie choices · Google privacy policy (opens in a new tab)