
Product
Redesigned Repositories Page: A Faster Way to Prioritize Security Risk
Our redesigned Repositories page adds alert severity, filtering, and tabs for faster triage and clearer insights across all your projects.
Bindings for libssh_ C library.
.. image:: https://img.shields.io/badge/License-LGPL%20v2-blue.svg :target: https://pypi.python.org/pypi/ssh-python :alt: License .. image:: https://img.shields.io/pypi/v/ssh-python.svg :target: https://pypi.python.org/pypi/ssh-python :alt: Latest Version .. image:: https://circleci.com/gh/ParallelSSH/ssh-python/tree/master.svg?style=shield :target: https://circleci.com/gh/ParallelSSH/ssh-python/tree/master .. image:: https://img.shields.io/pypi/wheel/ssh-python.svg :target: https://pypi.python.org/pypi/ssh-python .. image:: https://img.shields.io/pypi/pyversions/ssh-python.svg :target: https://pypi.python.org/pypi/ssh-python .. image:: https://ci.appveyor.com/api/projects/status/2t4bmmtjvfy5s1in/branch/master?svg=true :target: https://ci.appveyor.com/project/pkittenis/ssh-python .. image:: https://readthedocs.org/projects/ssh-python/badge/?version=latest :target: http://ssh-python.readthedocs.org/en/latest/ :alt: Latest documentation
Installation
Binary wheels are provided for Linux (manylinux 2014, x86_64 and aarch64), OSX (12, 13 and 14 for brew Python), and Windows 64-bit (Python 3.7+).
Wheels have no dependencies.
For building from source, see documentation <https://ssh-python.readthedocs.io/en/latest/installation.html#building-from-source>
_.
.. code-block:: shell
pip install ssh-python
Pip may need to be updated to be able to install binary wheels.
.. code-block:: shell
pip install -U pip pip install ssh-python
Quick Start
See command execution script <https://github.com/ParallelSSH/ssh-python/blob/master/examples/exec.py>
_ for complete example.
Features
The library uses Cython
_ based native code extensions as wrappers to libssh
.
Thread safe - GIL released as much as possible
Very low overhead thin wrapper
Object oriented
Uses Python semantics where applicable
Raises low level C errors as Python exceptions
.. _libssh: https://www.libssh.org .. _Cython: https://www.cython.org
FAQs
libssh C library bindings for Python.
We found that ssh-python demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Our redesigned Repositories page adds alert severity, filtering, and tabs for faster triage and clearer insights across all your projects.
Security News
Multiple deserialization flaws in PyTorch Lightning could allow remote code execution when loading untrusted model files, affecting versions up to 2.4.0.
Security News
NVD now marks all pre-2018 CVEs as "Deferred," signaling it will no longer enrich older vulnerabilities, further eroding trust in its data.