feedback

VS Code Remote Development

Connect VS Code to your BlaveClaw instance and edit strategies directly from your local machine.

Before you start

  • A running BlaveClaw instance
  • VS Code installed on your computer
  • Remote - SSH extension installed in VS Code
1

Download the SSH key. On the BlaveClaw dashboard, click "Develop with IDE →" and then click "Download SSH Key". Your browser will download blaveclaw.pem — move it to your Desktop before continuing.

Develop with IDE button Develop with IDE modal
Move blaveclaw.pem to Desktop
2

Set key permissions. Open Terminal and run:

chmod 400 ~/Desktop/blaveclaw.pem
chmod command in terminal

Windows: right-click the file → Properties → Security → Advanced → disable inheritance, then grant read-only access to your user only.

3

Set up SSH config. Click the bottom-left remote indicator in VS Code, select Connect to Host… → Configure SSH Hosts…, then choose ~/.ssh/config. Paste the config block copied from the "Develop with IDE →" modal and save.

Configure SSH Hosts Select SSH config file
SSH config pasted
4

Connect in VS Code. Click the remote indicator in the bottom-left corner of VS Code (or open the Command Palette with Cmd+Shift+P / Ctrl+Shift+P), select Connect to Host…, and choose blaveclaw.

Click bottom-left remote indicator
Connect to Host Select blaveclaw

Once connected, open the folder /root/.openclaw/workspace to start editing your strategies.

Open workspace folder
Note: Your server gets a new IP each time it resumes. Re-copy the SSH config from the dashboard and update ~/.ssh/config before reconnecting.
Tip: You can also open the VS Code terminal and run claude directly to edit your strategies with AI assistance — no init needed.
Run claude in VS Code terminal