Cardea logo
Remote Access39 stars2 forksGoEUPL-1.2Commit: Dec 2026

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

•SSH bastion server with access control
•Access rules stored in a plain‑text file
•Optional session recording
•TPM‑backed private key protection
•No database or web UI dependency
•Glob pattern and CIDR support for users, hosts, and ports

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 Template

Run 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?

CPU Cores2 vCPU
Memory (RAM)2 GB RAM
NVMe Disk40 GB NVMe

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

Single-Container Stack

Cardea — Go Container

Runs isolated inside Docker using image hectorm/cardea:latest. Stateless restarts let you upgrade versions cleanly without touching your persisted data.

hectorm/cardea:latest

At-a-Glance Health Audit

Cardea Open-Source Readiness Score

78/100

Solid Choice
Community Adoption39 stars · Emerging
Maintenance FreshnessActive (<30 days)
Self-Host ReadinessDocker Ready
License FreedomEUPL-1.2 · Copyleft OSS
hectorm/cardea
Open on GitHubPreview Card
Cardea GitHub repository preview (hectorm/cardea)

Ready to explore Cardea?

Visit their official site or check their code repository.

Visit CardeaView Code

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.

Cardea on The Cloud Rain - Verified Open Source
[![Cardea on The Cloud Rain - Verified Open Source](https://www.thecloudrain.org/api/badge/cardea)](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.