Remote Devices
Claudit can aggregate Claude Code and OpenClaw usage from remote machines via SSH.
Setup
- Open Settings > Devices
- Click Add Device
- Fill in:
- Name — Display name (e.g., "Mac Mini")
- SSH Host —
user@hostnameor an SSH config alias - Claude Config Path — Remote path to
~/.claude(default) - OpenClaw Paths — Remote paths to
~/.openclawdirectories (optional) - SSH Key Path — Path to identity file (optional, uses SSH agent by default)
- Click Test Connection to verify
- Click Save
How It Works
- Claudit runs
find | grepover SSH to extract usage records from remote JSONL files - A fingerprint (file count + total size) is checked first — if unchanged, cached data is reused
- SSH authentication inherits your local SSH agent (
SSH_AUTH_SOCK) - No hard timeout — relies on SSH
ServerAliveIntervalfor connection health
Troubleshooting
- Connection failed: Ensure
ssh user@hostworks in your terminal first - No data found: Check that the remote Claude Config Path is correct
- Slow fetch: Large log directories take time on first fetch; subsequent fetches use fingerprint caching