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
- Build on target: run pnpm install && build on the server via hooks for native modules.
- Atomic releases: uploads go to a release dir, then a symlink swap makes them live.
- Health checks: run a post-deploy command and only go live if it passes.
Configure an SSH target
sendr init
# Dashboard -> Add target:
# name: API VPS
# type: ssh
# host: 203.0.113.10
# deployPath: /srv/appDeploy with build hooks
# hooks run on the target after upload
sendr deploy --waitRollbacks
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.