Repository navigation
Added
AsyncSSHBackend.over_connection(connection, loop, *, host=None, max_concurrency=None, sftp_version=4, timeout=60.0)builds a backend
that runs SFTP over anasyncssh.SSHClientConnectionyour 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 thesftp:
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 raisesConnectionResetError. Keeplooprunning while the
backend is used (a request on a stopped loop raisesRuntimeError), and
build a new backend afterfork(). Such a backend cannot be pickled.
Full Changelog: v0.1.2...v0.1.3