pyexp is a python expect tool(on the basis of pexpect), it can be used to:     1. scp/rsync file/dir(s) from local to remote, or in reverse.     2. ssh into host(s)(and execute command(s)).