Deploy safely and scan exposed ports from Telegram
A security professional used an OpenClaw agent to handle deploys and port checks while keeping production changes gated by approval.
- What they did
- Simon Roses ran an OpenClaw agent called AgentX on a Raspberry Pi 5 and chatted with it through a Telegram bot. He used it to push the latest code to production and to run nmap over SSH from a VPS against his public address. The setup limited production access to read-only, allowed only pull requests, and required his manual approval before any restart.
- How it went
- The agent found exposed ports and pointed out an example gateway port, along with a firewall command to try. Simon said he had spent about €50 in API usage after two weeks. It occasionally stalled and needed him to step in.
- Tips
- Keep production locked down to read-only access, PR-based changes, and approval for restarts. If scans or deploys need sudo or Docker permissions, add only the minimum needed rights and expect occasional manual fixes.
Try it yourself with OpenClaw
You are my operations assistant in [Telegram]. Work with read-only access to [production environment] and make changes only by opening pull requests in [repo]. When I ask, check [VPS or public IP] for open ports and summarize any exposure you find. If a restart, deployment, payment, deletion, or submission is needed, stop and ask for my approval before proceeding.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Reuse charset-aware decoding for fetched pages
A contributor fixed OpenClaw’s page-decoding step so Shift_JIS pages no longer turned into replacement characters.
Have an agent turn GitHub issues into overnight PRs
A cron-driven OpenClaw agent picks one ready GitHub issue, makes the change, tests it, opens a PR, and updates the issue label.
Use OpenClaw to run coding agents on PRs
A solo developer used OpenClaw to spin up Codex and Claude Code for coding, testing, commits, PRs, and review replies, while getting Telegram updates when work finished.
Use OpenClaw for coding, research, and small tasks
A commenter leaned on OpenClaw for coding, research, and one-off chores, then had Hermes study each run to discover a faster way to do the same work.
Coordinate Terraform and GitOps work with OpenClaw
A developer used multiple OpenClaw agents to handle infrastructure, coding, and GitOps tasks while directing the work in Telegram.
Track GitHub PR activity and send only important alerts
OpenClaw checked 26 pull requests on a schedule, delivered updates to the author, and revealed a long-broken legacy script.