Welcome to ansible-pylibssh’s documentation!¶
Nightlies @ Dumb PyPI @ GitHub Pages¶
We publish nightlies on tags and pushes to devel. They are hosted on a GitHub Pages based index generated by dumb-pypi.
The web view is @ https://ansible.github.io/pylibssh/.
$ pip install \ --extra-index-url=https://ansible.github.io/pylibssh/simple/ \ --pre \ ansible-pylibssh
You need Python 2.7 or 3.5+
pylibssh requires libssh to be installed in particular:
libssh version 0.9.0 and later.
To install libssh refer to its Downloads page.
Building the module¶
In the local env, assumes there’s a libssh shared library on the system, build toolchain is present and env vars are set properly:
$ git clone https://github.com/ansible/pylibssh.git $ cd pylibssh $ pip install tox $ tox -e build-dists
$ git clone https://github.com/ansible/pylibssh.git $ cd pylibssh $ pip install tox $ tox -e build-dists-manylinux # with Docker # or with Podman $ DOCKER_EXECUTABLE=podman tox -e build-dists-manylinux # to enable shell script debug mode use $ tox -e build-dists-manylinux -- -e DEBUG=1
This library is distributed under the terms of LGPL 2 or higher,
LICENSE.rst in this repository.
- Installing ansible-pylibssh
- Getting Started with ansible-pylibssh
- Community Code of Conduct
- Contributing to ansible-pylibssh
- Security Policy
- Testing Guide