Build the extension with
make rpm
rpm -Uvh dist/python-libssh*.rpm
or
python3 setup.py build_ext --inplace
Make sure ssh under account where you run the tests to the same
account on localhost
passes, using public key authentication.
In other words, ssh localhost true
needs to work.
Test it with
python3 -m unittest discover -v -s tests -p 't*_*.py'
or
python3 setup.py test
Written by Jan Pazdziora, 2019--2024
This library is distributed under the terms of LGPL 2.1, see file COPYING in this repository.