Secure shell – access using Python
SSH has become a very popular network protocol for performing secure data communication between two computers. It provides an excellent cryptographic support, so that unrelated third-parties cannot see the content of the data during the transmission process. Details of the SSH protocol can be found in these RFC documents: RFC4251-RFC4254, available at http://www.rfc-editor.org/rfc/rfc4251.txt.
Python's paramiko
library provides a very good support for the 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 SSH is a client/server protocol. Both of the parties use...