In this section, you will learn how to establish an SSH connection to transfer files and run commands with the paramiko python package.
SSH terminals and running commands with paramiko
Installing paramiko
Python's paramiko library (http://www.paramiko.org/) provides very good support for SSH-based network communication. You can use Python scripts to benefit from the advantages of SSH-based remote administration, such as the remote command-line login, command execution, and the other secure network services between two networked computers. You may also be interested in using the pysftp module, which is based on paramiko.
More details regarding this package can be found at PyPI: https://pypi.python.org/pypi/pysftp.
The...