First connection (Pro)#
- Open Settings → Connections & advanced → Remote connections → Add server.
- Enter the server address, SSH port (usually
22), and username on the server. Name is optional; enter an IP address or domain name withoutssh://. - Choose Private key or Password. Select the private key from a file, and enter its passphrase if encrypted. Login credentials are encrypted and saved locally automatically without needing a separate save toggle; if missing or unreadable, fill them in as prompted before connecting.
- Tap Connect. On first connection, compare the host fingerprint against your server console or administrator's record, then choose Trust and connect.
Terminal & chat tools#
- Open terminal / Resume terminal: Type commands directly and press Enter to run them—no model configuration or per-command approval required. Terminal input and output are never automatically sent to models.
- Remote connections tool in chat: Enable Remote connections in the chat tool list—no need to pre-select a server. The Remote connections entry sits in the same row as web search, tools, and reasoning; tap it to manage servers. The model queries configured servers first and selects a target based on your request, asking first if the target is unclear. Every execution displays the target server, and the model must support tool calling.
Manual terminals and chat commands can connect to the same server simultaneously. Chat uses an independent connection and does not inherit the terminal's current working directory or temporary environment variables; concurrent chat executions against the same server remain mutually exclusive. The server page does not store permanent bindings between conversations and hosts.
Single-hop SSH jump host#
To reach an internal target server through a bastion or jump host:
- First add and save the directly reachable jump host in Remote connections, including its address, port, and login credentials.
- When adding or editing the target server, select that jump host from the SSH jump host dropdown beneath the port field (single-hop jump hosts are supported; multi-hop nesting is not supported yet).
- On first connection through a jump host, you will be prompted to verify the host fingerprints of both the jump host and the target server separately; changing the jump host resets the target server's fingerprint trust and "Always Allow" approvals.
Interactive terminals, SFTP file browsing, and chat SSH commands all share the same jump-host chain. If other servers reference a jump host, update their connection settings first before deleting the jump host. Exporting or transferring a target server via Nearby Transfer automatically includes the selected jump host and its login credentials.
Edit connections#
Tap Edit on a host in the server list. Leaving new credential fields empty preserves existing credentials; when switching authentication methods, confirm that valid credentials exist for the new method. More settings → Default directory applies to chat commands (leaving it empty uses the remote login directory). Connections currently in use must be closed before editing.
Each server card individually controls whether AI is permitted to use that host. Turning it off prevents assistants from discovering or operating the host through remote tools while manual terminal access and file browsing keep working as before; enabling AI usage never skips host fingerprint checks or command approval.
If a host's fingerprint changes, verify it through another channel before managing old trust entries—never silently reuse previous authorization.
Network storage#
The Network storage section at the bottom of Remote connections lets you add WebDAV or SMB storage—such as a NAS, Home Storage, or Jianguoyun—so AI can read and write files directly in chat, independent of SSH servers. See How do I bring a NAS or cloud drive into chats?.