pxssh - control an SSH session

Note

pxssh is a screen-scraping wrapper around the SSH command on your system. In many cases, you should consider using Paramiko instead. Paramiko is a Python module which speaks the SSH protocol directly, so it doesn’t have the extra complexity of running a local subprocess.

pxssh class