Website administrator
The Website administrator is an agent of your AI team that can work on your server over SSH: find out why the site is slow, check free disk space and service status, dig an error out of a log. Anything that changes something it does only after your approval — you see the exact text of the command and press "Approve" or "Deny".
The platform turns this capability on: while it is off, this page and SSH granting do not appear in the cabinet. For how the credentials themselves are stored, see the "Access vault" page.
What it gives you in practice
| Task | What the agent does |
|---|---|
| "Why is the site slow?" | Looks at load, memory, disk and the tail of the web server log on its own, works out the cause and tells you in its reply |
| "Check that all services are running" | Checks the status of services and containers on its own and lists the ones that are down |
| "Restart nginx" | Sends you a card with the command; restarts only after "Approve" |
| "Clear the site cache" | Sends a card with the exact delete command; touches nothing without your decision |
The agent does not replace a system administrator: it speeds up routine work and always leaves the decision on any change to you.
Connect it in 5 steps
- Knowledge base → Access vault → Add → SSH access: server address, port, user, key (or password).
- In the AI team, add an agent from the "Website administrator" template.
- In the access list open the ⋯ menu → "Agents" and turn on "Can use" for the Website administrator.
- Give a task in the AI team.
- On the first command Smokva remembers your server's key fingerprint — the server's "passport".
You need the "View knowledge" permission (the Access section lives inside the knowledge base), "Sees SSH access", "Manages access" and "Agent settings". Create a separate low-privilege user on the server instead of using root: that way the agent physically cannot read or change more than it should. The server must be reachable from the internet at a public address: servers on a local network or behind a VPN are not available.
Three classes of commands
| Class | What it includes | What happens |
|---|---|---|
| Read | One simple command: application logs, service status, the journal of one service, disk and memory, versions, the container list | Runs immediately, appears in "History" |
| Change | Everything else: restart, editing a file, installing or removing a package, any chain (;, &&, ` | `), any command the platform could not clearly recognise as a read. This includes reads that often expose other people's secrets (see below) |
| Forbidden | Deleting system directories, formatting disks, changing passwords and SSH keys, disabling protection, shutting the server down | Refused — even if you press "Approve" |
The platform parses the command text itself; neither the agent nor the model chooses the class. A command with non-Latin characters (for example, a Cyrillic "а" instead of a Latin one) always goes to approval, and one with invisible or control characters, or spanning several lines, is refused.
Reads that also wait for your approval
The output of these commands often contains passwords and tokens of other programs, and the output goes to the AI model. So the agent does not read them on its own: it sends a card with the exact text.
| What | Why |
|---|---|
Process lists and load: ps (in any form), top | Process command lines can hold passwords and tokens |
Scheduled jobs: crontab -l (including for another user) | Jobs can hold passwords and keys |
Login and system logs: /var/log/auth.log, secure, wtmp, btmp, lastlog, syslog, messages and relatives, including via a wildcard (/var/log/a*) and .gz archives | They record failed logins (sometimes with a password typed in place of the user name), sudo commands and job lines |
journalctl without a service name, or for login services and sessions (ssh, sudo, cron, session-N.scope), systemctl status without a service name or for login services | The same login logs, and a bare status prints the command lines of all processes |
last, w, who -a, docker ps --no-trunc | User sessions and full container command lines |
Application logs (for example /var/log/nginx/error.log), the status of ordinary services, the journal of one service, disk, memory, versions and the container list are still read by the agent on its own.
What exactly is forbidden
The agent neither runs nor proposes these, and the platform will not run them even after your approval: recursively deleting the system directories themselves (/, /etc, /usr, /var, /home, /root and similar), formatting and overwriting disks, changing passwords and users' SSH keys, switching protection off (firewall, SSH access and similar), shutting the server down (shutdown, poweroff, halt). A reboot goes through approval only. Writing to system logs (syslog, auth.log, wtmp and similar) is forbidden too, while application logs go through approval only.
The ban is a safety net, not protection against everything. For example, deleting a directory inside a system one (rm -rf /home/deploy, /var/www) is proposed to you for approval rather than refused: check the command text yourself. Give the agent an ordinary server user, not root.
What approval looks like
In the task card you see the server, user, address with port and the entire command text, not truncated, with its length. "Approve" runs exactly this text, "Deny" runs nothing. If after the proposal you changed the address, port or user of the SSH access, the approved command does not run — the agent proposes it again.
Approval requires an employee with the "Manage tasks" permission and the permission to see SSH access. You cannot give such a task or approve a command from a customer chat or a public channel — only an employee in the cabinet.
A long command (for example, a package upgrade) runs to the end even if it prints a lot of text: the agent receives only the beginning of the output, the rest is discarded, and the real exit code is used. A command is limited to 30 seconds.
Who sees what
| Who | What they see |
|---|---|
| Employee with the permission to see SSH access | Address, user, command, the expandable "Server output", the decision buttons |
| Other participants of the task | Only "Command on server "name" is waiting for a decision / done / failed / rejected", without address, command and output, without buttons |
Note: any employee with the "Manage tasks" permission can give the agent a task, and the agent runs read commands itself. It retells the result in its reply, and the reply in the task feed is visible to everyone who sees the task. The owner, administrator and employee roles have this permission by default (the accountant role does not). If some of them must not see the state of the server, remove the "Manage tasks" permission from their role in the role settings.
Safety
- The agent never sees the key. The platform connects to the server; the key and password do not reach the dialog, the log or replies.
- Smokva's own servers are off limits. The addresses and domains of the Smokva platform itself (including names that point at its servers) cannot be set as "your server" — the command is refused with "The address belongs to the Smokva platform and cannot be connected to". There are no exceptions or settings that lift this restriction.
- Server fingerprint. The first connection is accepted on trust and pinned after a successful login — for password login prefer a key. If the server later presents a different key, the connection is blocked before the login and key are sent, and a red banner appears on the access card: check the fingerprint and press "Accept new fingerprint" or "Keep the old one".
- Server output is data, not instructions. Requests and "commands" found in logs are not executed by the agent; invisible and control characters are stripped from the output.
- Secrets in logs. The platform removes the values of your password and key from the output, but cannot remove other people's secrets (passwords in process arguments, environment variables): they reach the agent and the AI provider. Do not approve commands that print secrets (
cat .env,printenv) and do not keep secrets in logs. - Server name, user and address cannot contain control or invisible characters — otherwise they could distort the approval card.
- Do not paste passwords and keys into the text of tasks: the command text is visible on the approval card and in History.
- Employee tasks only. The agent runs commands on the server on a task an employee set (directly, through the Business Engineer, or on a schedule). Subtasks created by other agents (for example, by a department head) do not get this ability — give the task to the Website Administrator directly. The same rule applies to a token and a login: see the “Access vault” page for details.
- Journal. Every command (who assigned it, the text, "read" or "approved by whom", result code, duration), refusals and fingerprint events are visible in "Access vault → ⋯ → History". There is no password, key or server output in the history.
If something does not work
| What you see | What to do |
|---|---|
| No "Access" section in the knowledge base | Your role lacks the "View knowledge" or "Sees SSH access" permission, or the capability is off on the platform |
| No "Agents" item in the access menu | The capability is off on the platform or you lack the "Agent settings" permission |
| Red banner "Server key fingerprint changed" | Check the fingerprint against the server itself and accept it or keep the old one |
| Refusal "server address not allowed" | The server is on a local network, behind a VPN, or the address belongs to the platform — a public address is needed |
| Refusal "server unreachable" | Check the address, the port and that the server accepts SSH from the internet |
| No "Approve" button | You lack the permission to see SSH access — ask the owner |
| Command forbidden | The ban holds even with approval; run it manually on the server |