High Risk:This skill has significant security concerns. Review the findings below before installing.

windows-remote

Caution·Scanned 2/17/2026

This skill controls remote Windows machines via SSH and exposes scripts/win-exec.sh, scripts/win-upload.sh, and scripts/win-download.sh for running commands and transferring files. It makes network connections to the host in WINDOWS_SSH_HOST, uses ssh/scp and reads ~/.ssh/id_ed25519, enabling arbitrary remote command execution.

from clawhub.ai·v8dc53a1·6.2 KB·0 installs
Scanned from 1.0.0 at 8dc53a1 · Transparency log ↗
$ vett add clawhub.ai/dongsjoa-byte/windows-remoteReview security findings before installing

Windows Remote Control

Execute commands on remote Windows machines via SSH.

Configuration

Set environment variables in ~/.openclaw/openclaw.json under skills.windows-remote.env:

{
  "skills": {
    "windows-remote": {
      "env": {
        "WINDOWS_SSH_HOST": "192.168.1.100",
        "WINDOWS_SSH_PORT": "22",
        "WINDOWS_SSH_USER": "Administrator"
      }
    }
  }
}

Or export directly:

export WINDOWS_SSH_HOST="192.168.1.100"
export WINDOWS_SSH_PORT="22"
export WINDOWS_SSH_USER="Administrator"

Quick Commands

Check Connection

scripts/win-exec.sh "echo connected"

GPU Status

scripts/win-exec.sh "nvidia-smi"

Run PowerShell

scripts/win-exec.sh "powershell -Command 'Get-Process | Select-Object -First 10'"

Execute Script

scripts/win-exec.sh "python C:\\path\\to\\script.py"

Script Reference

win-exec.sh

Execute a single command on the remote Windows machine.

scripts/win-exec.sh "<command>"

win-gpu.sh

Quick GPU status check (nvidia-smi wrapper).

scripts/win-gpu.sh
scripts/win-gpu.sh --query  # Compact output

win-upload.sh

Upload files to the remote machine via SCP.

scripts/win-upload.sh <local-file> <remote-path>

win-download.sh

Download files from the remote machine.

scripts/win-download.sh <remote-path> <local-file>

Common Tasks

Check if Ollama is Running

scripts/win-exec.sh "tasklist | findstr ollama"

Start a Service

scripts/win-exec.sh "net start <service-name>"

Run Python with GPU

scripts/win-exec.sh "python -c \"import torch; print(torch.cuda.is_available())\""

Check Disk Space

scripts/win-exec.sh "wmic logicaldisk get size,freespace,caption"

Troubleshooting

IssueSolution
Connection refusedCheck SSH service: Get-Service sshd
Permission deniedVerify SSH key in ~/.ssh/authorized_keys or administrators_authorized_keys
TimeoutCheck firewall rules, verify IP/port
Command not foundUse full path or check PATH on Windows

Security Notes

  • Use SSH keys instead of passwords
  • Keep private keys secure (chmod 600)
  • Consider using Tailscale for cross-network access