sshd. Details: Python ·
TypeScript.
- Python SDK
- TypeScript SDK
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Connect either Mirage SDK to a machine over SSH.
sshd. Details: Python ·
TypeScript.
pip install 'mirage-ai[ssh]'
from mirage.runtime.sandbox.ssh import SSHRuntime
runtime = SSHRuntime(
captures=["python3"],
config={
"host": "mybox",
"username": "deploy",
"identity_file": "~/.ssh/id_ed25519",
},
)
pnpm add ssh2
import { SSHRuntime } from '@struktoai/mirage-node'
const runtime = new SSHRuntime({
captures: ['python3'],
config: {
host: 'mybox',
username: 'deploy',
identityFile: '~/.ssh/id_ed25519',
},
})