This random comment just saved me several hours of work. I had no idea I could pass in ssh URLs to -H. It turns out that this also works with the docker python library!