SyntaxFix
Write A Post
Hire A Developer
Questions
As of today, the best solution is probably AsyncSSH
AsyncSSH
https://asyncssh.readthedocs.io/en/latest/#scp-client
async with asyncssh.connect('host.tld') as conn: await asyncssh.scp((conn, 'example.txt'), '.', recurse=True)