minimal-git-server

Lightweight SSH-only Git server packaged as a container

46 stars 4 forks last commit first released MIT

Actively maintained

Last commit 25 Jun 2026.

minimal-git-server is a small, SSH-based Git server provided as a container image. It exposes repositories over SSH and is controlled via simple CLI commands mapped to SSH subcommands, with accounts and keys defined in a single YAML configuration.

Key Features

  • SSH-first Git hosting with repositories stored on a mounted data volume
  • Single YAML config file to define accounts, UIDs and allowed public keys
  • CLI-style repository management via SSH commands (list/create/rename/remove)
  • Lightweight implementation using shell scripts and a container image for Docker/Podman
  • Persists server SSH keys and repositories on host-mounted volumes for easy backups
  • Designed to be scriptable and automatable from CI or local scripts

Use Cases

  • Host private Git repositories for small teams or personal projects on a local server
  • Provide simple Git endpoints for CI pipelines or automation scripts that need push/pull access
  • Quickly spin up ephemeral or lab Git servers for testing and demos without heavy tooling

Limitations and Considerations

  • SSH-only access model; no built-in HTTP(S) or web UI for repository browsing or management
  • Minimal access control: permissions are account-level via config and SSH keys; no fine-grained per-branch ACLs or web-based management
  • Not a full forge: lacks features such as issues, pull-request UI, user management UI, or built-in hook management beyond raw Git hooks

minimal-git-server is intended for situations that need a simple, containerized Git endpoint with easy scripting and minimal operational overhead. It is best suited to small teams, automation scenarios, and homelab use where advanced forge features are unnecessary.

Categories:

Tags:

Tech Stack:

Share:

Similar to minimal-git-server

Soft Serve logo

Soft Serve

Self-hosted Git server with an SSH-accessible terminal UI

7.2k
238
Last commit

Self-hostable Git server focused on SSH, featuring a terminal UI, access control, and Git LFS support, with cloning via SSH, HTTP, or the Git protocol.

MITActively maintained
Alternative to:GitHub+7
Sshwifty logo

Sshwifty

Browser-based SSH and Telnet client with a web interface

3.1k
398
Last commit

Sshwifty is a web-based SSH and Telnet client that lets you access remote terminals directly from a browser, with presets, access control, and optional TLS.

AGPL-3.0Actively maintained
Alternative to:
Termius logo
Termius
+2
ShellHub logo

ShellHub

Centralized SSH gateway for remote access and device management

2.1k
188
Last commit

Centralized SSH gateway to remotely manage Linux servers, containers and IoT devices via web or native SSH; offers key auth, firewall rules, audit logging and session recording.

Apache-2.0Actively maintained
Alternative to:
Teleport logo
Teleport
+14
Apache Guacamole logo

Apache Guacamole

Clientless remote desktop gateway accessed through HTML5 in a browser.

4k
799
Last commit

Open-source browser-based gateway enabling VNC, RDP, and SSH access to remote desktops without client software.

Apache-2.0Actively maintained
Alternative to:
Citrix DaaS logo
Citrix DaaS
+17

Jauth

Lightweight TLS reverse proxy with SSH and Telegram authorization

188
9
Last commit

Single-binary TLS reverse proxy for self-hosted apps that provides SSH- and Telegram-based authorization, simple SSO, Let's Encrypt support and whitelist access control.

GPL-3.0Likely dormant
Alternative to:
Cloudflare Access logo
Cloudflare Access
+4
SCM-Manager logo

SCM-Manager

Manage Git, Mercurial and Subversion repositories via web UI

178
36
Last commit

Web-based source code management to host and manage Git, Mercurial and Subversion repositories with fine-grained auth, REST API, plugins and a configurable UI.

AGPL-3.0Actively maintained
Alternative to:GitHub+6