Skip to content

sshuttle

Command-line tool that tunnels your traffic to a remote network over plain SSH

Weak copyleft (OSI) · LGPL-2.1
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

66

Health

Active

Overview

Stars

13,676

Last commit

today

Nov 2026

Repository age

12 years

since Sep 2014

Latest version

v2.0.0

Sep 2026

Contributors

–

17 active in 90 days

Releases

1

last 12 months

Language

Python

sshuttle gives you VPN-like access to a remote network using only an SSH connection. It acts as a transparent proxy on your machine and routes traffic for chosen subnets through the server. You do not need admin rights on the remote side or a VPN server there.

It avoids two common problems. You do not have to create an SSH port forward for each host and port. It also does not use OpenSSH's PermitTunnel, which is off by default and sends TCP over TCP with poor performance. The how-it-works page in the docs explains the approach.

The client runs on Linux, FreeBSD and macOS, with experimental Windows support. It is written in Python, licensed LGPL-2.1, and can be installed with Homebrew. It can also run as a service under config management. The project is active, with 18 contributors in the last 90 days. It is a lightweight alternative to commercial VPN clients for reaching a network you can already SSH into.

Who it's for

Developers and sysadmins reaching a private network via a bastion host

If you can SSH in, you can route a whole subnet without VPN setup.

Skip if: You need a full VPN with user management and UDP support.

Admins frustrated with IPsec or PPTP setups

It skips complex VPN protocols and needs no server software.

Skip if: Your team requires a centrally managed, audited VPN product.

The problem it solves

Reaching hosts on a remote network often means a heavy VPN or a pile of SSH port forwards. sshuttle lets you reach the whole network through one SSH login.

Strengths

  • Needs only SSH access and no admin rights on the remote end
  • Routes whole subnets without per-port forwards
  • Avoids TCP-over-TCP used by PermitTunnel
  • Runs on Linux, FreeBSD and macOS; Homebrew package
  • Active, with 18 contributors in the last 90 days

Trade-offs

  • Windows support is experimental
  • Works as a client tool, not a managed multi-user VPN
  • Installation steps live in the docs rather than one package for every system

Frequently asked questions

Is sshuttle free?

Yes. It is open source under LGPL-2.1.

Which platforms does it support?

Linux, FreeBSD and macOS, plus experimental Windows support.

Do I need admin access on the remote server?

No. You only need SSH access to the remote network.

How do I install it?

A Homebrew formula is available, and the documentation covers other install methods.

Similar tools in VPNs and proxies

algo

VPNs and proxies

Ansible scripts that deploy a hardened personal WireGuard and IPsec VPN to your cloud

30k 2.4k 11 days ago Slowing AGPL-3.0

hysteria

VPNs and proxies

QUIC-based proxy that looks like HTTP/3, for slow or censored networks

23k 2.3k 5 days ago Active MIT

Amnezia VPN

VPNs and proxies

VPN client that installs its own VPN server on your VPS over SSH

16k 1.3k 4 days ago Thriving GPL-3.0

Replaces Free VPNs

Shadowsocks

VPNs and proxies

Android client for Shadowsocks proxies, built for bypassing network filtering

37k 11k 9 months ago Dormant GPL-3.0-or-later

subspace

VPNs and proxies

Web GUI for running your own WireGuard VPN server on a small VPS

2.6k 445 5 years ago Dormant MIT

v2rayNG

VPNs and proxies

Android client for V2Ray and Xray proxy protocols such as VMess, VLESS and Trojan

66k 8.7k today Thriving GPL-3.0