01
Quick start
sshship is a hosted platform. You don’t install our app on your VPS. Sign up, add your server keys, and deploy. The dashboard, API, queue, and billing run with us. Your apps run on the servers you connect.
-
1
Create an account
Sign up. The Free plan gives you 1 server and 3 projects. No credit card.
-
2
Add your VPS
Go to Servers, then Add server. Paste your SSH private key in PEM format. sshship encrypts it immediately and never logs it. Use Test SSH to verify connectivity.
-
3
Create a project
Go to Projects, then Create project. Choose a server, a deploy path such as /var/www/my-app, and a deployment type: Git or .zip upload.
-
4
Set build commands
Add the shell commands that prepare your app, such as npm install or composer install. They run in order. A failure stops the deploy.
-
5
Deploy
Click Deploy now on the project page. Watch the live log as sshship clones your repo, runs your commands, and restarts your process.
02
SSH key setup
sshship is the platform you log into. Your VPS is where the app runs. We connect with SSH keys only. No passwords. The private key is saved in your sshship account. The public key goes in ~/.ssh/authorized_keys on your VPS.
What happens to my SSH keys
They are stored encrypted at rest, isolated from other accounts. They are decrypted only inside our systems when you trigger a deploy, test SSH, open a terminal, collect metrics, or run a similar action, then passed to the execution layer over a private channel to open an outbound SSH session to your server’s IP. They are not written into deploy logs, they are not reusable by other accounts, and you can rotate or delete them from the dashboard. This is the same trust model as any hosted CI/CD or server panel: the platform holds secrets so it can act on your infrastructure when you ask it to.
Generate a new key pair
# Run this on your local machine
ssh-keygen -t ed25519 -C "sshship-deploy" -f ~/.ssh/sshship_deploy
# Copy the public key to your VPS
ssh-copy-id -i ~/.ssh/sshship_deploy.pub user@your-vps-ip
# Print the private key to paste into sshship
cat ~/.ssh/sshship_deploy
Key requirements
- PEM format, starting with -----BEGIN ... PRIVATE KEY-----
- No passphrase. sshship cannot decrypt a passphrase-protected key.
- RSA, Ed25519, and ECDSA are supported.
Using an existing key
If you already have a key on your server, you can paste that same private key. Its public counterpart must be in ~/.ssh/authorized_keys for the user sshship will connect as.
03
Servers
A server is any Linux VPS you want to deploy to: Hetzner, DigitalOcean, Vultr, Contabo, or your own hardware. sshship connects over SSH and runs the deployment there.
Host
IP address or hostname of the VPS.
Port
SSH port. Defaults to 22.
SSH user
The remote user, such as deploy, ubuntu, or root. A dedicated deploy user is the safer choice.
SSH private key
Paste the full private key in OpenSSH or PEM form. It is stored encrypted for your account and never logged.
Label
A name shown in the dashboard, such as Production EU or Staging.
Use Test SSH connection after saving a server. If it fails, check that the public key is in ~/.ssh/authorized_keys and that the port is open.
04
Projects
A project links a code source, a Git repo or a .zip, to a target server, a deploy path, and a build pipeline.
Name
A human-readable identifier.
Server
Which VPS to deploy to.
Deploy path
Absolute path on the VPS where code is placed, such as /var/www/my-app or /opt/apps/api.
Type
git or upload. This is where the code comes from.
Build commands
Shell commands run after the code is prepared. See Build commands.
NGINX
Optional. sshship can write an NGINX vhost and obtain an SSL certificate with Certbot.
Process restart
Optional command to restart your app after deploy, such as systemctl restart my-app or pm2 restart all.
05
Git deployments
Choose deployment type git, then give a repository URL and a branch. The first deploy clones the repo. Later deploys run git pull.
Repository URL
# SSH, recommended for private repos
git@github.com:your-org/your-repo.git
# HTTPS, works for public repos
https://github.com/your-org/your-repo.git
Private repos
Generate a separate key pair for the deploy key.
ssh-keygen -t ed25519 -C "sshship-repo-deploy" -f ~/.ssh/repo_deploy -N ""
Paste the private key, ~/.ssh/repo_deploy, into the SSH deploy key field. Add the public key, ~/.ssh/repo_deploy.pub, as a read-only deploy key on GitHub or GitLab. The key is encrypted at rest and injected only at deploy time. It is never logged.
06
.zip deployments
Choose deployment type upload. From the project page, upload a .zip of your built artefact. Useful for compiled binaries, pre-built frontends, or any workflow where you build locally or in CI.
-
1
Upload
Drop or select your .zip from the project page. Max 100 MB.
-
2
Secure store
The archive is stored privately and is not publicly accessible.
-
3
Deploy
Click Deploy now. sshship transfers the archive to your VPS and extracts it into the deploy path.
-
4
Build
Your build commands run as usual after extraction.
07
Build commands
Each command runs in order inside your deploy path. One command per line. A non-zero exit code stops the pipeline and marks the deployment as failed. Commands already run in the deploy path, so you do not need to cd into it.
Laravel / PHP
Node.js / Next.js
Static HTML
Python / Django
Docker Compose
Docker Compose deploys are on Starter and above.
08
Webhooks
Git projects get a webhook URL. Add it to GitHub or GitLab so every push to your branch starts a deploy.
Payload URL
Shown on your project page. It looks like https://your-domain.com/api/v1/webhooks/github/{project-id}
Content type
application/json
Secret
Shown once at project creation. Copy it immediately and paste it into GitHub or GitLab so deliveries can be verified.
Events
Push is the only event you need.
GitHub webhooks are on every plan. GitLab webhooks are on Starter and above.
09
Environments Pro
Environments keep separate configurations for the same project. Staging can deploy on every push. Production can deploy by hand or on a release tag.
Branch
Each environment can track a different branch, such as main for production and develop for staging.
Server
Each environment can deploy to a different server, or to the same server at a different path.
Env variables
Each environment has its own variables. On deploy they are written into your application’s environment file on the server before build commands run. Many PHP frameworks use a .env file there, not sshship’s settings.
Deploy path
A different path per environment, such as /var/www/my-app-staging and /var/www/my-app.
10
Monitoring
Starter is for shipping code and basic health: server metrics, threshold alerts, a web SSH terminal, and a log viewer. Pro adds Docker and systemd monitoring, including containers, journals, live streams, and log-pattern alerts. The Free plan is focused on deployments.
Server metrics
CPU, RAM, disk, swap, and load, plus network RX/TX, disk read/write, and CPU iowait and steal.
Alerts
Threshold and windowed alert rules. Notifications can go in-app, by email, and to Slack or Discord.
Docker and systemd
Container and service lists, journals, and live streams on the server page. Pro and above.
Infra notifications
Docker and PM2 digests, plus alerts for systemd units you watch. Grouped per account email so they do not flood the inbox. Pro and above.
11
Uptime checks
Uptime checks test HTTP endpoints or TCP ports and keep the results. An incident opens when a check fails and closes when it recovers.
Create checks
Dashboard, then Uptime, then Create. Choose HTTP with a URL and expected status, or TCP with a host and port.
History
Each check has an incident list and a table of recent results.
Graphs
The check page includes a 24-hour status bar and an average latency chart.
Pagination
The results table on a check page is paginated so older results stay reachable.
12
Status pages Pro
Publish selected uptime checks on a shareable page. Creating and managing status pages is on the Pro plan and above.
Manage pages
Dashboard, then Uptime, then Public status. Create a page, select checks, and choose public or private.
Public URL
Public pages live at /status/{slug}. Private pages need a token query parameter.
What people see
Overall status, per-service status, a 7, 30, and 90 day SLO, recent incidents, and a 24-hour history for each service.
13
Command line
ship is the terminal client. It installs on your computer and talks to your sshship account. You need an API token from Settings, then API tokens. Tokens are on Starter and above. ship commands prints the full list.
Install
# macOS and Linux
curl -fsSL https://sshship.cloud/install.sh | sh
# Windows PowerShell
irm https://sshship.cloud/install.ps1 | iex
ship login
ship commands
ship update
Everyday commands
ship status
ship alerts
ship observatory
ship servers
ship deploy app
ship logs app
ship login
Save an API token on this machine
ship logout
Forget the saved token
ship whoami
Show the account for the current token
ship commands
List every command
ship docs
Print the docs address
ship observatory [SERVER]
Open Observatory in the browser
ship servers
List servers
ship servers add
Add a Linux VPS over SSH
ship servers test NAME
Test the SSH connection
ship status
CPU, memory, and disk for each server
ship alerts
Show recent alerts
ship alerts ack
Mark every alert as read
ship projects
List projects
ship projects add
Create a git project
ship deploy [PROJECT]
Start a deploy and follow the log
ship logs [PROJECT]
Print a deploy log
ship version
Print the CLI version
ship update
Install the latest ship on this machine
The installer puts ship in ~/.local/bin. A self-hosted control plane uses the same binary: ship login --host https://your-domain. A read token can list, follow logs, and see status. Adding a server or deploying needs a deploy or admin token.
14
REST API
Dashboard operations are available at /api/v1. Create a token in Settings, then API tokens, and send it as a Bearer token. API tokens are on the Starter plan and above.
Trigger a deploy from CI
curl -X POST https://your-domain.com/api/v1/projects/{project-id}/deployments \
-H "Authorization: Bearer sp_your_token_here" \
-H "Content-Type: application/json"
| Endpoint | What it does |
|---|---|
| GET /api/v1/servers | List your servers |
| POST /api/v1/servers | Add a server |
| POST /api/v1/servers/{id}/test-ssh | Test SSH connectivity |
| GET /api/v1/projects | List projects |
| POST /api/v1/projects | Create a project |
| PUT /api/v1/projects/{id} | Update a project |
| DELETE /api/v1/projects/{id} | Delete a project |
| POST /api/v1/projects/{id}/deployments | Trigger a deployment |
| GET /api/v1/projects/{id}/deployments | List deployments |
| GET /api/v1/projects/{id}/deployments/{deployId} | Get a deployment and its log |
| POST /api/v1/webhooks/github/{id} | GitHub push webhook |
15
Plan limits
Every plan includes Git and .zip deployments, NGINX, SSL, and environment variables. Higher plans add servers and the features below.
| Feature | Free | Starter | Pro | Business |
|---|---|---|---|---|
| Servers | 1 | 5 | ∞ | ∞ |
| Projects | 3 | ∞ | ∞ | ∞ |
| Deployments / month | 50 | ∞ | ∞ | ∞ |
| Docker Compose | — | Yes | Yes | Yes |
| Server metrics and alerts | — | Yes | Yes | Yes |
| Docker and systemd monitoring | — | — | Yes | Yes |
| Web SSH terminal | — | Yes | Yes | Yes |
| Remote file browser | — | — | Yes | Yes |
| Deployment rollback | — | Yes | Yes | Yes |
| API tokens | — | Yes | Yes | Yes |
| GitLab webhooks | — | Yes | Yes | Yes |
| Cron job manager | — | Yes | Yes | Yes |
| Teams and roles | — | — | Yes | Yes |
| Multi-server deploy | — | — | Yes | Yes |
| Status pages | — | — | Yes | Yes |
| NGINX load balancing | — | — | Yes | Yes |
| Environments | — | — | Yes | Yes |
| Database backups | — | — | Yes | Yes |
| Audit log | — | — | Yes | Yes |
| Audit log export | — | — | — | Yes |