Skip to content

v0.1.3

Latest

Choose a tag to compare

@github-actions github-actions released this 17 Oct 08:55

Added

  • AsyncSSHBackend.over_connection(connection, loop, *, host=None, max_concurrency=None, sftp_version=4, timeout=60.0) builds a backend
    that runs SFTP over an asyncssh.SSHClientConnection your program already
    opened and authenticated, on the event loop that connection is bound to,
    instead of connecting and logging in a second time. Paths and the sftp:
    scheme work on it unchanged. The connection stays yours: close() closes
    only the backend's SFTP channel, and once the connection is closed every
    request raises ConnectionResetError. Keep loop running while the
    backend is used (a request on a stopped loop raises RuntimeError), and
    build a new backend after fork(). Such a backend cannot be pickled.

Full Changelog: v0.1.2...v0.1.3