# gliderlabs/ssh

Easy SSH servers in Golang

Repository: https://github.com/gliderlabs/ssh
Canonical: https://ross.abutalabs.com/products/ssh
Homepage: https://godoc.org/github.com/gliderlabs/ssh
Language: Go
License: BSD-3-Clause
License Family: permissive
Topics: ssh, ssh-server, golang-package, golang
Last push: 2025-01-27T22:38:18+00:00

## Health v2 (maintenance only)
Score: 24/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 3, release rhythm 8, longevity 100
- inputs: {"age_days": 3621, "days_push": 583, "days_rel": 628, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4169, forks 508 (observed 2026-08-28T04:08:37.956394+00:00)

## What it is
A Go library that wraps golang.org/x/crypto/ssh with a high-level, net/http-like API for building custom SSH servers. It lets developers handle SSH sessions with simple handler functions similar to HTTP handlers.

## Use cases
- build a custom SSH server in Go
- create an interactive SSH-based CLI or REPL
- implement SSH-based remote command execution
- build an SSH chat or multiplayer terminal app
- add SSH access to a Go application
- authenticate SSH users with public keys or passwords

## When to choose
- you want an SSH server in Go with an API as simple as net/http
- you need fine control over SSH sessions, auth, and PTY handling without writing protocol code
- you're building tools like ssh-chat, remote shells, or SSH gateways

## When to avoid
- you need a full OpenSSH server replacement with SFTP, port forwarding, and system integration
- you need an SSH client rather than a server
- you're not developing in Go

## Facets
- artifact type: library
- maturity: stable
- function: ssh, http-server, developer-tools
- domain: developer-tools, networking, backend
- platform: go, cross-platform, windows
- tags: ssh-server, golang-package, net-http-style-api, crypto-ssh-wrapper, command-line, linux, macos

## Member repositories
- gliderlabs/ssh (main) score 24

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:37.956394+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:22:45.309769+00:00, confidence not recorded.
  - readme: https://github.com/gliderlabs/ssh (fetched 2026-08-28T04:08:37.956394+00:00, sha 18804594eb7e)
  - homepage: https://godoc.org/github.com/gliderlabs/ssh (fetched 2026-08-29T09:13:23.801280+00:00, sha 646dd4f23ed7)
  - site_page: https://pkg.go.dev/about (fetched 2026-08-29T09:13:23.814119+00:00, sha 757852027879)
  - site_page: https://pkg.go.dev/github.com/gliderlabs/ssh (fetched 2026-08-29T09:13:23.811629+00:00, sha 9e9644bd33f8)
  - site_page: https://go.dev/project (fetched 2026-08-29T09:13:23.816040+00:00, sha d5ca00bb378b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
