Cardea
Cardea is an SSH bastion server offering access‑control rules, session recording, and optional TPM‑backed key protection
Key Strengths (Pros)
- Text‑file based access rules versioned with code
- Optional TPM‑backed private key protection
- Session recording capability
- No database or web UI required
- Supports glob patterns and CIDR for users, hosts, and ports
- Fine‑grained control over port and Unix‑socket forwarding (permitopen, permitlisten, etc.)
Choose Cardea If
- →small and mid-sized teams that manage infrastructure as code
Quick Summary
About Cardea
Core Capabilities
Cardea provides an SSH bastion server that authenticates clients, enforces access rules defined in a plain‑text file, and forwards connections to backend servers. It records sessions optionally and can protect its private key with a TPM. Designed for small to mid‑size teams that manage infrastructure as code, it requires no database or web UI and supports flexible SSH username syntax, glob patterns, CIDR blocks, and fine‑grained port and socket forwarding controls.
Self-Host with Docker
Starter TemplateRun Cardea locally or on your private VPS with zero cloud lock-in.
services:
cardea:
image: hectorm/cardea:latest
container_name: cardea
restart: unless-stopped
ports:
- "8080:8080"
volumes:
- ./cardea-data:/data💡 Starter Docker template — verify the exact image tag and port in the repository README.
Check official repo docs ↗Interactive Server Sizer
What VPS Do You Need for Cardea?
Hetzner Cloud
Best value
~$4.35/mo
DigitalOcean
Simple DX
~$12/mo
AWS Lightsail / EC2
AWS VPC
~$16/mo
Startup Team (10–50 users): Enable Caddy/Traefik HTTP/2 + automated daily volume snapshots to Cloudflare R2 (~$1/mo) for zero-stress operations.
Production Topology
How Cardea Runs Self-Hosted
Cardea — Go Container
Runs isolated inside Docker using image hectorm/cardea:latest. Stateless restarts let you upgrade versions cleanly without touching your persisted data.
At-a-Glance Health Audit
Cardea Open-Source Readiness Score
78/100
hectorm/cardea— GitHub Repository SnapshotOpen on GitHubPreview Card
Ready to explore Cardea?
Visit their official site or check their code repository.
For Project Maintainers
Embed Verified Badge in GitHub README
Signal to developers that Cardea is actively verified on The Cloud Rain. Boost credibility and showcase commercial SaaS replacement.
[](https://www.thecloudrain.org/tools/cardea)
Knowledge Base
Frequently Asked Questions
Is Cardea free and open source?
Yes, Cardea is free, open-source software distributed under the EUPL-1.2 license. Anyone can inspect, audit, or contribute to its public codebase.
Can I self-host Cardea?
Yes, Cardea is designed for self-hosting on private clouds, VPS, or on-premise hardware. You can deploy it using Docker or containers to maintain complete control over your data.
What are the best open-source alternatives to Cardea?
Explore top alternatives in the Remote Access category on The Cloud Rain, where projects are verified for active maintenance, license integrity, and developer usability.
How is Cardea verified on The Cloud Rain?
Our curation pipeline verifies Cardea for license authenticity, repository commit cadence, and deployment viability according to our transparent audit methodology.