Skip to main content

Compare

Copy-pasting between your terminal and an LLM

A lot of people use AI for ops this way: paste in a log or screenshot, copy the suggested command into a terminal, then paste the result back. This works, and the model never touches your servers.

The copy-paste loop

  1. 1

    Find

    Find the log, graph, or terminal output that might explain the problem.

  2. 2

    Copy

    Copy the useful lines or take a screenshot.

  3. 3

    Ask

    Paste it into the LLM and ask what to do.

  4. 4

    Run

    Read the suggested command, then run it yourself.

  5. 5

    Repeat

    Paste the result back and keep going.

In this flow you are the only check. That works when you understand the command and keep focus on small details.

Why the loop feels safe

Nothing runs unless you run it

You can leave out sensitive data, ignore a bad answer, and stop before anything changes.

The model only sees what you send

If the useful line is just above the screenshot, or the hostname is cropped out, the model does not know. It can still sound confident.

Your terminal has no context

It will run the command you paste. It does not know which host you meant, what changed after the model answered, or why you decided to run it.

Review can turn into a reflex

A familiar one-line command is easy to check. A generated Bash pipeline or Python script may not be. After enough routine trips, it is easy to skim, paste, and press Enter without understanding what will run. Generated code then reaches your shell without a careful review.

There is no single record

The reason is in chat, the command is in shell history, the host is in your terminal, and the result may be in another paste. You can piece it together, but nobody gets one clean record.

The same task

The same restart, without the copy-paste loop

Grafana alerts you that the error rate of api on edge-sfo-03 is high, and you want to fix it.

Copy-paste

# api on edge-sfo-03 is returning 502s
ssh edge-sfo-03
Welcome to Ubuntu 24.04.1 LTS (GNU/Linux 6.8.0-45-generic x86_64)
Last login: Wed Oct 28 09:12:44 2026 from 10.0.4.17
sudo journalctl -u api -n 4
Oct 28 14:02:09 edge-sfo-03 api[1423]: http: Accept error: accept tcp [::]:8080: accept4: too many open files; retrying in 1s
Oct 28 14:02:10 edge-sfo-03 api[1423]: http: Accept error: accept tcp [::]:8080: accept4: too many open files; retrying in 1s
Oct 28 14:02:11 edge-sfo-03 api[1423]: http: Accept error: accept tcp [::]:8080: accept4: too many open files; retrying in 1s
Oct 28 14:02:12 edge-sfo-03 api[1423]: http: Accept error: accept tcp [::]:8080: accept4: too many open files; retrying in 1s
sudo systemctl restart api && systemctl status api
● api.service - API server
Loaded: loaded (/etc/systemd/system/api.service; enabled; preset: enabled)
Active: active (running) since Wed 2026-10-28 14:03:40 UTC; 1s ago
Main PID: 2210 (api)

Logs, the command, and its output all pass through your clipboard.

With emisar

emisar MCP connected · scoped to edge-sfo-03
api on edge-sfo-03 is returning 502s
emisar · linux.journalctl(unit: "api")
api[1423]: … accept4: too many open files
… +213 lines (ctrl+r to expand)
api has run out of file descriptors, so it can't accept new connections. A restart clears that for now.
emisar · linux.systemctl_restart(unit: "api")
⏸ pending approval — linux.systemctl_restart is high-risk
✓ approved by you · one use · audit event recorded
succeeded · exit 0 · 1.2s
emisar · linux.systemctl_status(unit: "api")
Active: active (running) since 14:03:40; 1s ago
… +14 lines (ctrl+r to expand)
api is back up. The leak will come back, so the code still needs a fix.

Claude calls emisar actions. Nothing passes through your clipboard.

Side by side

Where the paths differ

What the model can do

Copy-paste

Nothing on its own. You run every command.

emisar

Through emisar, it can request declared actions on runners it may access. Policies govern which actions are allowed and which stop for human review.

What it knows

Copy-paste

Only the text and images you paste, from that moment.

emisar

Fresh output from the actions you allow. The model never has to access the shell on the runner host.

How commands are checked

Copy-paste

You are the check. That gets harder with an unfamiliar command or generated script, and easier to skip when the loop becomes routine.

emisar

The runner checks the arguments and builds the command from an action definition you installed.

Approval

Copy-paste

Pressing Enter is approval. The chat does not record exactly what you approved on which host.

emisar

The approval page shows the action, arguments, runner, requester, and reason. Your approval applies to that run unless you enable reuse.

Secrets

Copy-paste

You must notice secrets before copying text or screenshots into the chat.

emisar

The runner masks output that matches configured patterns before it leaves the host. Unknown secret formats can still pass through.

What is saved

Copy-paste

Chat history, shell history, dashboards, and tickets.

emisar

Cloud audit events, linked run history, and a separate hash-chained journal on the runner.

After the run

Each run keeps its own record

Open a run to inspect its request, approval, target, and result. The cloud audit records decisions and outcomes; Team and Enterprise can export those events to a SIEM. Each runner also keeps a separate local, hash-chained journal.

Read the audit reference 
The emisar audit log filtered to successful runs, showing the actor, action target, source IP, and time for each run.
Open any row to see who asked, what ran, where it ran, and how it ended.

For teams

One place to govern AI access to production

Without a shared way to use AI on production, people find their own. Usually it is the copy-paste loop, run from personal chats, and each one gives a model a path into production that you can't see.

Without one place

Production logs go into chat histories you don't control, and generated commands run on whatever host someone has open. No one else reviews them, and nothing records them. When a command runs on the wrong host, or a pasted log carries a token, there is no trail to tell you who did what.

With emisar

Every agent on the team uses the same reviewed actions under your account's policy. You decide what runs on its own and what waits for a person, and every run is recorded with who asked and where it ran. An agent can reach only what its member can, and removing a member cuts off every agent that acts as them.

Read about teams and access 

For one-off work

Copy-paste fits one-off work

For a low-risk change in dev, with one operator and no audit requirement, the manual loop may be enough. Check what you upload and what you run.

When it repeats

Give the agent the checks you keep repeating.

Install the packs for the services you run, then let your agent fetch logs, check status, and follow the next lead. Add your own action when you need an internal procedure. Each call uses a reviewed definition and your account's policy.

Routine checks keep moving

Read-only actions can return current results without stopping for approval.

Risky changes wait for you

Policy can require approval of the exact run before it changes a host.

Give the model actions, not a shell.

Start with the checks you run most often. The model can request them; you still approve risky changes.

Three runners. Seven-day audit. No credit card.