Companion to: "How I Set Up OpenClaw Without Giving It the Keys to My Life"
sudo sysadminctl -addUser openclaw -password - -home /Users/openclawsudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate on
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setstealthmode on
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setblockall onPasswordAuthentication no
PermitRootLogin no
MaxAuthTries 3
AllowUsers openclaw
After editing, restart SSH:
sudo launchctl stop com.openssh.sshd
sudo launchctl start com.openssh.sshd# Download from https://tailscale.com/download/mac
# Or via Homebrew:
brew install --cask tailscale
# Enable Tailscale SSH (do this BEFORE you leave the house)
tailscale up --sshSystem Settings > General > Sharing > Turn OFF:
- Remote Management
- Screen Sharing
- File Sharing
- AirDrop
# Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Node.js 22+
brew install node@22npm install -g clawdbot
clawdbot initchmod 700 ~/clawd/config/
chmod 600 ~/clawd/config/*.json{
"allowedCommands": [
"curl",
"cat",
"ls",
"echo",
"node",
"npx"
]
}# SOUL.md
**Name:** [YOUR_AGENT_NAME]
**Role:** Research Monitor
## What You Do
- Monitor Twitter/X for keywords and accounts
- Track news in [YOUR_SPACE]
- Surface relevant opportunities, events, and discussions
- Send daily summaries and real-time alerts
## What You Don't Do
- Post, reply, or engage on any platform
- Send emails or messages to anyone other than me
- Make purchases or financial transactions
- Modify files outside your workspace
- Install new skills without approval# Run security audit
clawdbot security audit
# Test from outside tailnet (should fail)
# 1. Disconnect from Tailscale on another device
# 2. Try to ping/SSH the machine's public IP
# 3. Both should fail# Stop immediately
clawdbot gateway stop
# Or via Tailscale SSH from your laptop
ssh openclaw@[TAILSCALE_IP] 'clawdbot gateway stop'clawdbot sessions reset- Rotate API keys monthly (set calendar reminder)
- Document all tokens, scopes, and expiration dates
- Enable Tailscale SSH before traveling
- Run security audit after any config changes
Questions? @jordanlyall