sshtunnel is a Python library for creating SSH tunnels to remote servers. It is designed for cases where a service is blocked by a firewall but SSH access to an intermediate server is available. The library opens SSH port-forwarding connections in the background, allowing local applications to reach remote or private services through a secure channel. It supports local and remote bind addresses, password authentication, private keys, and configuration through Python code. sshtunnel is especially useful for developers, administrators, and automation scripts that need controlled access to databases, internal dashboards, or protected network services. Its value comes from making SSH forwarding easier to manage inside Python workflows without relying only on manual command-line SSH syntax.

Features

  • Python-based SSH tunneling library
  • Local port forwarding through SSH
  • Remote bind address support
  • Password and private key authentication
  • Background tunnel management
  • Useful for accessing firewall-protected services

Project Samples

Project Activity

See All Activity >

Categories

Tunneling

License

MIT License

Follow sshtunnel

sshtunnel Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of sshtunnel!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Python

Related Categories

Python Tunneling Software

Registered

2026-05-18