AsyncSSH version 2.1.0 is now available on Github and PyPI, with with minor bug fixes and enhancements. Here’s a list of changes since 2.0.1:
* Added support in the SSHProcess redirect mechanism to accept asyncio
StreamReader and StreamWriter objects, allowing asyncio streams to
be plugged in as stdin/stdout/stderr in an SSHProcess.
* Added support for key handlers in the AsyncSSH line editor to trigger
signals being delivered when certain "hot keys" are hit while reading
input.
* Improved cleanup of unreturned connection objects when an error occurs
or the connection request is canceled or times out.
* Improved cleanup of SSH agent client objects to avoid triggering a false
positive warning in Python 3.8.
* Added an example to the documentation for how to create reverse-direction
SSH client and server connections.
* Made check of session objects against None explicit to avoid confusion
on user-defined sessions that implement __len__ or __bool__. Thanks go
to Lars-Dominik Braun for contributing this improvement!
Downloads can be found in the usual place:
Home page:
http://asyncssh.readthedocs.io
PyPI:
https://pypi.python.org/pypi/asyncssh
GitHub:
https://github.com/ronf/asyncssh
Please let me know if you have any questions or problems with this new release.
--
Ron Frederick
ro...@timeheart.net