Documentation Index
Fetch the complete documentation index at: https://docs.mirage.strukto.ai/llms.txt
Use this file to discover all available pages before exploring further.
SSHResource opens an SFTP session and mounts the remote root as a filesystem.
Node only. Requires the
ssh2 peer dependency. The browser SDK doesn’t ship an SSH client.Install
Config
| Field | Default | Notes |
|---|---|---|
host | required | Host alias from ~/.ssh/config or a real DNS name. |
hostname | host | Override if host is an alias and the actual DNS name differs. |
port | 22 | |
username | (from ssh-config) | |
password | none | Redacted in snapshots. Prefer identityFile. |
identityFile | none | Path to a private key. ~ is expanded. |
passphrase | none | Passphrase for identityFile. Redacted in snapshots. |
root | / | Path on the remote that becomes the mount root. |
timeout | 10000 | Connect timeout in ms. |
knownHosts | system | Path to a known_hosts file. |
Mount mode
read, write. Writes flush via SFTP put.
For the full set of supported shell commands and snapshot behavior see the Python SSH docs.