Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. SSH
  3. sshttp

sshttp

C++

A Linux daemon that multiplexes SSH and HTTP/HTTPS traffic on a single port, enabling SSH access through firewalls that only allow web traffic.

Visit WebsiteGitHubGitHub
894 stars93 forks0 contributors

What is sshttp?

sshttp is a Linux-based daemon that multiplexes SSH and HTTP/HTTPS traffic on a single port, allowing SSH access through firewalls that only permit web traffic. It acts as a layer-5 switch, inspecting incoming connections and routing them to the appropriate backend service (SSH or web server) without requiring changes to client or server software.

Target Audience

System administrators and network engineers who need to provide SSH access to servers behind restrictive firewalls that only allow HTTP/HTTPS traffic, particularly in DMZ or internal network environments.

Value Proposition

Developers choose sshttp because it provides a transparent, high-performance solution for bypassing firewall restrictions without modifying existing infrastructure, using Linux-specific optimizations for efficiency and supporting advanced features like SNI-based routing and multi-core processing.

Overview

SSH/HTTP(S) multiplexer. Run a webserver and a sshd on the same port w/o changes.

Use Cases

Best For

  • Providing SSH access to servers behind firewalls that only allow port 80/443
  • Multiplexing multiple services (SSH, HTTP, HTTPS) on a single public port
  • Implementing transparent proxy setups for internal network services
  • Routing traffic based on HTTPS SNI to different backend applications
  • Reducing attack surface by hiding SSH behind standard web ports
  • Optimizing network traffic handling on multi-core Linux servers

Not Ideal For

  • Teams running non-Linux operating systems or requiring cross-platform compatibility
  • Environments where modifying iptables/nftables firewall rules is restricted or overly complex
  • Projects needing to multiplex protocols beyond SSH, HTTP/HTTPS, or SMTP
  • Simple deployments without firewall restrictions where standard port forwarding is sufficient

Pros & Cons

Pros

High-Performance Multiplexing

Uses zero-copy optimization with the splice(2) system call to avoid costly user-kernel data copies, enhancing throughput on heavily loaded servers, as detailed in the splice branch.

Transparent Source IP Preservation

Leverages IP_TRANSPARENT and nf_conntrack to pass original client IP addresses to backend services, maintaining audit trails without modifying server software.

Flexible SNI-Based Routing

Supports HTTPS Server Name Indication to route traffic to different backend ports based on domain names, enabling multi-service hosting with multiple -N switches.

Security Hardened Design

Can run as an unprivileged user inside a chroot jail when compiled with capability support, reducing attack surface, as configured via -U and -R switches.

Cons

Linux-Only Dependency

Requires specific Linux kernel features like IP_TRANSPARENT and nf_conntrack modules, making it incompatible with other operating systems, a limitation acknowledged in the README.

Complex Firewall Setup

Installation involves editing and running error-prone netfilter scripts (e.g., nf-setup), which can lock out access if misconfigured, especially on remote hosts.

Limited Protocol Support

Only multiplexes SSH with HTTP, HTTPS, or SMTP; cannot handle other protocols without modifications, as the README lists specific protocol pairs with no extensibility mentioned.

Frequently Asked Questions

Quick Stats

Stars894
Forks93
Contributors0
Open Issues2
Last commit3 years ago
CreatedSince 2011

Tags

#ssh-tunneling#http#firewall-bypass#tls#transparent-proxy#linux-daemon#port-sharing#network-security#https#traffic-routing#ipv6#ssh

Built With

l
libcap
L
Linux
i
iptables
C
C++

Links & Resources

Website

Included in

SSH2.8k
Auto-fetched 13 hours ago

Related Projects

ngrokngrok

Unified ingress for developers

Stars24,376
Forks4,238
Last commit2 years ago
sshuttlesshuttle

Transparent proxy server that works as a poor man's VPN. Forwards over ssh. Doesn't require admin. Works with Linux and MacOS. Supports DNS tunneling.

Stars13,673
Forks808
Last commit20 hours ago
sshfssshfs

A network filesystem client to connect to SSH servers

Stars7,756
Forks554
Last commit7 days ago
sslhsslh

Applicative Protocol Multiplexer (e.g. share SSH and HTTPS on the same port)

Stars5,127
Forks397
Last commit24 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub