SSH Transport
Send Market Lab commands to another installed CLI over SSH.
SSH transport sends a command to mlab installed on another machine. That target CLI connects to its own Native or Docker daemon.
current mlab -> SSH -> target mlab -> target mlabdThe daemon itself is not remote and its socket or port is not exposed. Command output, errors, exit status, and streamed data return to the originating terminal.
Both machines must run the same Market Lab build.
Select a Target
Confirm SSH works:
ssh user@SERVER_IPSet the default target:
mlab remote use user@SERVER_IP
mlab daemon status
mlab bot jobsReturn to Local transport:
mlab remote use localOverride One Command
mlab --remote user@OTHER_IP bot jobs
mlab --remote user@SERVER_IP source orderbook \
--exchange hyperliquidf \
--symbol BTC \
--depth 20Manage Targets
mlab remote list
mlab remote status
mlab remote test user@SERVER_IP
mlab remote remove user@SERVER_IPDeploy a Local Script
mlab --remote user@SERVER_IP script run strategy.py \
--python .venv/bin/python \
--source btc@candles@binancef:timeframe=60Market Lab sends the script and prepares its Python environment on the target. Jobs, logs, artifacts, and credentials remain on that machine.
Configure target credentials through an interactive SSH session:
ssh -t user@SERVER_IP mlab auth set hyperliquidSee Authentication.