How to scp in Python?

What’s the most pythonic way to scp a file in Python? The only route I’m aware of is which is a hack, and which doesn’t work outside Linux-like systems, and which needs help from the Pexpect module to avoid password prompts unless you already have passwordless SSH set up to the remote host. I’m aware … Read more