Deploy to a VPS over SSH

Deploy Node and container apps to a bare VPS with SENDR using SSH, with build-on-target hooks and atomic release swaps.

What is SSH deployment?

An SSH target is a bare server (a VPS from any provider) where SENDR connects over SSH to upload artifacts and run commands. This is how you deploy Node.js services, background workers, and Docker containers, not just static files.

Why deploy to a VPS with SENDR

Configure an SSH target

sendr init
# Dashboard -> Add target:
#   name: API VPS
#   type: ssh
#   host: 203.0.113.10
#   deployPath: /srv/app

Deploy with build hooks

# hooks run on the target after upload
sendr deploy --wait

Rollbacks

SENDR keeps every release on the server. A rollback re-points the live symlink to the previous release and restarts the service, with no rebuild required.

Related