AsyncSSH 2.15.0 released!

7 views
Skip to first unread message

Ron Frederick

unread,
Jul 3, 2024, 6:21:39 PM7/3/24
to asyncssh...@googlegroups.com, asyncss...@googlegroups.com
AsyncSSH version 2.15.0 is now available on Github and PyPI, with some new features and bug fixes. Here’s a list of changes since 2.14.2:

* Added experimental support for tunneling of TUN/TAP network interfaces
on Linux and macOS, allowing for either automatic packet forwarding or
explicit reading and writing of packets sent through the tunnel by the
application. Both callback and stream APIs are available.

* Added support for forwarding terminal size and terminal size changes
when stdin on an SSHServerProcess is redirected to a local TTY.

* Added support for multiple tunnel/ProxyJump hosts. Thanks go to Adam
Martin for suggesting this enhancement and proposing a solution.

* Added support for OpenSSH lsetstat SFTP extension to set attributes
on symbolic links on platforms which support that and use it to
improve symlink handling in the SFTP get, put, and copy methods.
In addition, a follow_symlinks option has been added on various
SFTPClient methods which get and set these attributes. Thanks go to
GitHub user eyalgolan1337 for reporting this issue.

* Added support for password and passphrase arguments to be a callable
or awaitable, called when performing authentication or loading
encrypted private keys. Thanks go to GitHub user goblin for
suggesting this enhancement.

* Added support for proper flow control when using AsyncFileWriter or
StreamWriter classes to do SSH process redirection. Thanks go to Benjy
Wiener for reporting this issue and providing feedback on the fix.

* Added is_closed() method SSHClientConnection/SSHServerConnection to
return whether the associated network connection is closed or not.

* Added support for setting and matching tags in OpenSSH config files.

* Added an example of using "await" in addition to "async with" when
opening a new SSHClientConnection. Thanks go to Michael Davis for
suggesting this added documentation.

* Improved handling CancelledError in SCP, avoiding an issue where
AsyncSSH could sometimes get stuck waiting for the channel to close.
Thanks go to Max Orlov for reporting the problem and providing code
to reproduce it.

* Fixed a regression from 2.14.1 related to rekeying an SSH connection
when there's acitivty on the connection in the middle of rekeying.
Thanks go to GitHub user eyalgolan1337 for helping to narrow down
this problem and test the fix.

* Fixed a problem with process redirection when a close is received
without a preceding EOF. Thanks go to GitHub user xuoguoto who helped
to provide sample scripts and ran tests to help track this down.

* Fixed the processing of paths in SFTP client symlink requests. Thanks
go to André Glüpker for reporting the problem and providing test code
to demonstrate it.

* Fixed an OpenSSH config file parsing issue. Thanks go to Siddh Raman
Pant for reporting this issue.

* Worked around a bug in a user auth banner generated by the cryptlib
library. Thanks go to GitHub user mmayomoar for reporting this issue
and suggesting a fix.

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



Reply all
Reply to author
Forward
0 new messages