---
id: "containerssh"
type: "component"
kind: "bastion-host"
provider: "default"
category: "security"
docs: "https://containerssh.io"
url: "https://localhost:3000/catalogue/components/containerssh"
---

# ContainerSSH

SSH server that launches a throwaway container per session instead of a host shell.

| | |
|---|---|
| Provider | [default](https://localhost:3000/catalogue?provider=default) |
| Kind | [Bastion host](https://localhost:3000/catalogue/kinds/bastion-host) |
| Category | Security |
| Official docs | [https://containerssh.io](https://containerssh.io) |

## Properties

| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| `authentication` | enum | `webhook`, `oidc`, `kerberos` | no | "webhook" | inherited |
| `backend` | enum | `docker`, `kubernetes`, `sshproxy` | no | "docker" | inherited |
| `justInTimeAccess` | boolean | — | no | false | **true** |
| `managed` | boolean | — | no | false | **false** |
| `mfaRequired` | boolean | — | no | — | **false** |
| `protocols` | enum | `ssh`, `rdp`, `both` | no | — | **"ssh"** |
| `publicIp` | boolean | — | no | — | inherited |
| `sessionRecording` | boolean | — | no | — | **false** |

Bold values are the ones this component pins.

## Rules that apply · 0

No rule selects this kind or its category.

## Other products of the same kind · 17

- [Bastionhost](https://localhost:3000/catalogue/components/alibaba-bastionhost.md) `alibaba-bastionhost` — alibabacloud
- [EC2 Instance Connect Endpoint](https://localhost:3000/catalogue/components/aws-ec2-instance-connect-endpoint.md) `aws-ec2-instance-connect-endpoint` — aws
- [AWS Systems Manager Session Manager](https://localhost:3000/catalogue/components/aws-ssm-session-manager.md) `aws-ssm-session-manager` — aws
- [AWS Verified Access](https://localhost:3000/catalogue/components/aws-verified-access.md) `aws-verified-access` — aws
- [Azure Bastion](https://localhost:3000/catalogue/components/azure-bastion.md) `azure-bastion` — azure
- [Microsoft Entra Private Access](https://localhost:3000/catalogue/components/azure-entra-private-access.md) `azure-entra-private-access` — azure
- [Cloudflare Access](https://localhost:3000/catalogue/components/cloudflare-access.md) `cloudflare-access` — cloudflare
- [Cloudflare One RDP](https://localhost:3000/catalogue/components/cloudflare-rdp.md) `cloudflare-rdp` — cloudflare
- [Generic bastion host](https://localhost:3000/catalogue/components/bastion-host.md) `bastion-host` — default
- [HashiCorp Boundary](https://localhost:3000/catalogue/components/boundary.md) `boundary` — default
- [Paralus](https://localhost:3000/catalogue/components/paralus.md) `paralus` — default
- [Pomerium](https://localhost:3000/catalogue/components/pomerium.md) `pomerium` — default
- [OpenSSH jump host](https://localhost:3000/catalogue/components/ssh-jump-host.md) `ssh-jump-host` — default
- [Teleport](https://localhost:3000/catalogue/components/teleport.md) `teleport` — default
- [Chrome Enterprise Premium](https://localhost:3000/catalogue/components/google-chrome-enterprise-premium.md) `google-chrome-enterprise-premium` — gcp
- [Identity-Aware Proxy](https://localhost:3000/catalogue/components/google-identity-aware-proxy.md) `google-identity-aware-proxy` — gcp
- [Bastion](https://localhost:3000/catalogue/components/oci-bastion.md) `oci-bastion` — oci

## Use it in a design

```yaml
nodes:
  - { id: "containerssh", component: "containerssh" }
```

## Source (`component` YAML, verbatim)

```yaml
# yaml-language-server: $schema=../../schema/component.schema.json
# ContainerSSH: SSH server that launches a throwaway container per session instead of giving
# shell access to a host. Per the ContainerSSH documentation authentication and per-user container
# configuration are delegated to an external webhook, and audit logging is enabled explicitly.
schemaVersion: "1"
type: "component"
id: "containerssh"
kind: "bastion-host"
provider: "default"
docs: "https://containerssh.io"
defaults:
  managed: false
  protocols: "ssh"
  sessionRecording: false
  mfaRequired: false
  justInTimeAccess: true
properties:
  backend:
    type: "enum"
    values: ["docker", "kubernetes", "sshproxy"]
    default: "docker"
  authentication:
    type: "enum"
    values: ["webhook", "oidc", "kerberos"]
    default: "webhook"
```

Human page: https://localhost:3000/catalogue/components/containerssh
