Letting the AI Do It
granda.org·1w
Preview
Report Post

I needed a dev server: VM with SSH access and dev tools installed. I described what I wanted to Claude Code and let it handle the setup.

The Prompt

I asked for a Vultr VM with 8 cores and 32GB of RAM, accessible only through Tailscale, with persistent sessions that survive network drops.

What Claude Code Built

1. Provisioned the VM via Vultr API

It created an 8-core/32GB Ubuntu instance, waited for the IP, then SSH’d in as root.

2. Hardened SSH

Port 49152                    # Random high port
PermitRootLogin no
PasswordAuthentication no
ListenAddress 100.x.x.x       # Tailscale interface only

Key-based auth only, listening only on the Tailscale interface.

3. Set up three layers of firewall

  • UFW: Deny all incoming except Tailscale subnet

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help