Hybrid Access: AI on SSH servers without an agent

With Hybrid Access an SSH server you already use in WECOMMANDER can be used by AI without installing anything on it. The connection is made by WECOMMANDER on your own computer, so your SSH keys and passwords never leave it. Connection method and AI access are separate choices: no AI sees a server until you turn AI access on for it.

Where it is available

Windows appmacOS appLinux Management Center
Remote AI (ChatGPT, Claude.ai through wecommander.app)YesYesYes
AI on this computer (local MCP)YesNo settings page yetNot yet

Turn it on for a server

  1. The server must use SSH (not Telnet, serial or Mosh).
  2. Connect once and approve its host key. AI never trusts a server on first use, and a changed key is refused.
  3. It must sign in without asking: a saved password, a key that opens without a typed passphrase, or this computer's own keys or SSH agent. The AI can never type a password.
  4. Edit the server → AI access, and turn on “Remote AI” (and on Windows, “AI on this computer” if you use local AI clients).
  5. Choose the permission preset and the sudo setting.

Presets and sudo

SettingMeaning
Read onlyThe AI can read files, list folders and look at the server's state. It cannot run commands or change anything, whatever its trust level.
With approval (recommended)Reading is free; commands, writes, deletes and server changes need a single-use approval showing the exact command and server, unless the server's AI permissions allow it.
Timed autonomous (local only)For local AI clients only: no approvals until the time ends (at most 8 hours), then back to With approval. Never applies to remote AI.
Sudo: never (default)Commands containing sudo, su, doas, pkexec or run0 are refused. A sudo password is never stored or given to AI.
Sudo: sudoersOnly what the server's sudoers already allows without a password can run with sudo; you decide on the server.

How a remote call works

  1. Your app publishes only a name, the preset and the sudo setting for each shared server; never the address, user or credentials. The AI sees a target id such as ssh-<24 hex characters>.
  2. The AI calls a tool with that target. The gateway checks the role, the read-only preset, the safety net, run as root, and whether an approval is needed.
  3. Your app picks the call up, checks everything again, runs it over SSH or SFTP, and sends back the result with secrets masked.
  4. If your computer or the app is off, the call fails at once with connector_offline (after 20 seconds without pickup, or 45 seconds without contact); nothing waits to run later.

Tools on SSH servers

process_exec, fs_list, fs_read, fs_stat, fs_write, fs_mkdir, fs_move, fs_delete, server_overview, server_disk_usage, server_processes, server_cleanup_scan, server_cleanup_run, server_process_signal, server_timers_list, docker_containers_list, docker_container_logs and docker_container_action. Other tools answer unsupported_for_target. Remote reads and writes are limited to 1 MiB each (4 MiB for local AI clients).

AI permissions of SSH servers

Each shared server has the same AI permissions as an agent device, on the web Devices page under SSH servers: trust level (strict, standard, full), run as user or root, the safety net and an allowlist of routine commands. Only the owner of the computer the server goes through can see and change them. Root needs both the computer's sudo setting (sudoers) and the owner's choice in the dashboard; then process_exec and fs_write run through sudo -n.

What it does not protect

Always on