Run commands and transfer files via ssh from python