All guides

How to SSH Into Your OpenClaw Server on ClawCloud

Terminal window with an active SSH session to an OpenClaw server

When you need SSH access

Most day-to-day tasks work through the ClawCloud dashboard — switching models, checking health, viewing logs. SSH is for when you need lower-level access: installing skills, reading raw log files, debugging a config issue, or running openclaw CLI commands that the dashboard does not expose yet.

Add your SSH public key

You can add your key during deployment or afterwards from the dashboard.

During deployment

The deploy wizard has an Advanced section in Step 3. Expand it and paste your SSH public key (the contents of ~/.ssh/id_ed25519.pub or ~/.ssh/id_rsa.pub).

SSH key field in the ClawCloud deploy wizard Advanced section

After deployment

Open Dashboard → User → Settings → SSH Access and paste your public key into the SSH key field. Hit save — the key is stored on your account and applied to all your instances.

SSH Access section in ClawCloud Dashboard User Settings

Connect to your server

Once your key is added, connect as the openclaw user:

ssh openclaw@YOUR_SERVER_IP

Find your server IP on the dashboard instance panel. It appears next to the instance name once the server is provisioned.

This drops you directly into the home directory where the OpenClaw config, workspace, and skills live. All openclaw and clawhub commands work from here without any extra steps.

The openclaw user has passwordless sudo, so system-level tasks work too — no need to reconnect as root:

sudo systemctl restart some-system-service

Common commands after connecting

Check your gateway status:

openclaw doctor

View recent gateway logs:

export XDG_RUNTIME_DIR=/run/user/$(id -u)
journalctl --user-unit openclaw-gateway -n 50 --no-pager

List installed skills:

openclaw skills list

Install a skill from ClawHub:

clawhub install tavily-search

Check your current model config:

openclaw config get agents.defaults.model

File locations

PathWhat it contains
~/.openclaw/openclaw.jsonMain OpenClaw config file
~/.openclaw/workspace/Bot workspace — memory files, skill folders
~/.openclaw/workspace/MEMORY.mdRoot memory file

Troubleshooting

Connection refused: Your SSH key may not be on the server yet. Add it via Dashboard → User → Settings → SSH Access, then wait about 30 seconds for propagation.

Permission denied (publickey): Make sure you are connecting as openclaw. This is the user your SSH key is authorized for.

No journal entries for openclaw-gateway: The gateway runs as a user-level systemd service. Make sure XDG_RUNTIME_DIR is set before running journalctl — use the command from the "Common commands" section above, which sets it automatically.

Deploy Your OpenClaw Now

Ready to deploy?

Skip the setup — your OpenClaw assistant runs on a dedicated server in under a minute.

Deploy Your OpenClaw