Back to Apps
SSH Container

Deploy SSH Container on Your Own Server

Just a simple container that has sshd installed so you can SSH directly into this container.

πŸ“¦ Other

Want to deploy SSH Container on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.

Get Started

What is SSH Container?

The following app sets up an SSHd service in a container that you can use to connect to and inspect other container's volumes, or to get quick access to a test container. IMPORTANT: This setup uses **public key** login.

Self-Host SSH Container

Follow these steps to deploy on your own server.

1

Install Docker

Skip this step if Docker is already installed on your server.

curl -fsSL https://get.docker.com | sh
2

Configure

Customize the settings below. Defaults work for most cases.

General
3

Deploy

Copy the configuration and run it on your server.

services:
  sshd:
    image: lscr.io/linuxserver/openssh-server:version-9.7_p1-r4
    environment:
      DOCKER_MODS: linuxserver/mods:openssh-server-ssh-tunnel
      PGID: "1001"
      PUBLIC_KEY: ""
      PUID: "1001"
      TZ: Europe/London
      USER_NAME: Senate
    volumes:
      - sshd-config:/config
    ports:
      - $$cap_sshd_port:2222
volumes:
  sshd-config: {}

Then run:

docker compose up -d
4

Access

Once started, access your app at http://localhost:80

Why Self-Host SSH Container?

Full Data Ownership

Your data stays on your servers. No third-party access.

No Monthly Fees

Pay only for your server. No per-seat or usage charges.

Complete Control

Customize, backup, and scale on your own terms.

Privacy & Compliance

Meet GDPR, HIPAA, or internal security requirements.

Technical Details

Docker Image

lscr.io/linuxserver/openssh-server:version-9.7_p1-r4

Want to go faster?

Try Senate! Senate handles Docker, HTTPS, updates, and monitoring for you. Deploy any of our 300+ apps with a single command.

Install on any Linux server:

sh -c "$(curl -sSL https://get.senate.sh)"