$npx skillfedfor your agent

ssh-python

libssh C library bindings for Python.

With conditionsPyPI LibrariesReleased Oct 2025213.4K downloads / moLGPL-2.1-onlyPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — ssh_python-1.2.0.post1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl · ssh_python-1.2.0.post1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl · ssh_python-1.2.0.post1-cp310-cp310-win_amd64.whl
v1.2.0.post1 · released 2025-10-12

Yes, if you need direct, efficient SSH client bindings and are comfortable with a lower-level API. The library is production-stable, has no runtime dependencies, and provides good platform coverage via binary wheels. However, the aging maintenance status (306 days since last release) and small community (48 GitHub stars) mean you should verify active support for your use case before committing to it in new projects. Consider higher-level alternatives like paramiko if you prioritize ease of use and active development.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or later.
  • Binary wheels are pre-built; source builds require libssh development headers and a C compiler.
  • Binary wheels available for Linux (manylinux 2014, x86_64 and aarch64), macOS (versions 12, 13, 14), and Windows 64-bit.

License · maintenance · safety

LGPL-2.1-only (copyleft) — Licensed under LGPL-2.1-only (copyleft). Any derivative work or distribution must comply with copyleft obligations, including providing source code and allowing modifications under the same license terms.

last release 2025-10-12 (306 days) · last repo commit 2025-10-21 · 48 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 213,449 downloads/mo, #9,436 on PyPI

Verify before relying

pip install ssh-python

import ssh
# See command execution example in repository for usage patterns
  • Whether the package is actively maintained or in maintenance-only mode (last commit 2025-10-21, but status marked 'aging').
  • Specific libssh version targeted by the bindings and any known compatibility constraints.
  • Performance characteristics and overhead compared to other SSH libraries (e.g., paramiko, fabric).
Same gist for agents: .md · .json

What it is and what it does

ssh-python provides direct Python bindings to libssh, a C library for SSH client operations. It exposes low-level SSH functionality with minimal overhead, releasing the GIL during C operations to enable threading. The library uses Python idioms where applicable—context managers for channel/file handle cleanup, iterators for reading data—and automatically manages memory as objects are garbage collected.

The package is intended for developers who need direct, efficient access to SSH operations without the abstraction layers of higher-level libraries. It supports thread-safe concurrent operations within libssh's threading model, making it suitable for applications that execute multiple SSH commands or transfers in parallel. Binary wheels eliminate compilation requirements for common platforms and Python versions.

Use it for

  • Execute remote commands on multiple servers concurrently with minimal overhead in parallel SSH tools.
  • Transfer files over SSH with direct control over connection and channel management.
  • Build low-latency SSH client applications where GIL contention or abstraction overhead matters.
  • Integrate SSH capabilities into systems that require thread-safe, non-blocking remote operations.
  • Access libssh features not exposed by higher-level Python SSH libraries.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need direct, efficient SSH client bindings and are comfortable with a lower-level API.

The library is production-stable, has no runtime dependencies, and provides good platform coverage via binary wheels. However, the aging maintenance status (306 days since last release) and small community (48 GitHub stars) mean you should verify active support for your use case before committing to it in new projects. Consider higher-level alternatives like paramiko if you prioritize ease of use and active development.

Install

ssh-python on PyPI

Before you install

Binary wheels available for Linux (manylinux 2014, x86_64 and aarch64), macOS (versions 12, 13, 14), and Windows 64-bit. Wheels have no dependencies. Last release was 306 days ago; repository is not archived but marked as aging.

Requires Python 3.8 or later. Binary wheels are pre-built; source builds require libssh development headers and a C compiler.

License in practice

Licensed under LGPL-2.1-only (copyleft). Any derivative work or distribution must comply with copyleft obligations, including providing source code and allowing modifications under the same license terms.

Quickstart

pip install ssh-python

import ssh
# See command execution example in repository for usage patterns

Verify before relying

  • Whether the package is actively maintained or in maintenance-only mode (last commit 2025-10-21, but status marked 'aging').
  • Specific libssh version targeted by the bindings and any known compatibility constraints.
  • Performance characteristics and overhead compared to other SSH libraries (e.g., paramiko, fabric).

Package facts

LicenseLGPL-2.1-only copyleft
Python supportNot specified
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceAging 306 days since the last release
Last repo commit
First released
Downloads213,449 / month, #9,436 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: OS IndependentOperating System :: POSIXOperating System :: POSIX :: BSDOperating System :: POSIX :: LinuxProgramming Language :: CProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: System :: NetworkingTopic :: System :: Shells

Evidence: ssh_python-1.2.0.post1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; ssh_python-1.2.0.post1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; ssh_python-1.2.0.post1-cp310-cp310-win_amd64.whl; ssh_python-1.2.0.post1-cp311-cp311-macosx_12_0_arm64.whl; ssh_python-1.2.0.post1-cp311-cp311-macosx_13_0_arm64.whl; ssh_python-1.2.0.post1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; ssh_python-1.2.0.post1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; ssh_python-1.2.0.post1-cp311-cp311-win_amd64.whl; ssh_python-1.2.0.post1-cp312-cp312-macosx_14_0_arm64.whl; ssh_python-1.2.0.post1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; ssh_python-1.2.0.post1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; ssh_python-1.2.0.post1-cp312-cp312-win_amd64.whl; ssh_python-1.2.0.post1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; ssh_python-1.2.0.post1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; ssh_python-1.2.0.post1-cp313-cp313-win_amd64.whl; ssh_python-1.2.0.post1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; ssh_python-1.2.0.post1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; ssh_python-1.2.0.post1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; ssh_python-1.2.0.post1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; ssh_python-1.2.0.post1-cp38-cp38-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Tags

Capabilities
ssh client library pythonlibssh python bindingsremote command execution sshssh file transfer pythonthread-safe ssh clientlow-level ssh bindings
Topics
ssh-clientc-bindingslow-level

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “ssh client library python”

  • ssh-pythonPython bindings to the libssh C library for SSH client operations,…
  • ansible-pylibsshPython bindings to libssh that provide SSH client functionality…
  • paramikoParamiko is a pure-Python SSH protocol library providing both client…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also ansible-pylibssh · ssh2-python · parallel-ssh · pykaos · cibuildwheel · sysrsync · scp · jumpssh · sshuttle · pyhelper-utils