In these links you will find more information about mentioned tools and official Python documentation for searching into some of the mentioned modules:
- http://www.paramiko.org
- http://pexpect.readthedocs.io/en/stable/api/pxssh.html
- http://pysnmp.sourceforge.net/quick-start.html
For readers interested in deepening their understanding about how to create a tunnel to a remote server with Paramiko, you can check the sshtunnel module available in the PyPI repository: https://pypi.org/project/sshtunnel/.
Documentation and examples are available in the GitHub repository: https://github.com/pahaz/sshtunnel.