asynchssh has really become my go-to for ssh/sftp related operations in Python. A recent refactor of my SSH Certificates meet RBAC by way of some OAuth-ish processes shrunk my CA container by 13% and made the code more legible by replacing all of the disk IO and subprocess calls to ssh-keygen with native asyncssh functions. Beyond these advantages there is now nothing written to disk at all in the container runtime.