In this section, we will review the Paramiko and pxssh modules that provide us with the necessary methods to create SSH clients in an easy way.
Connecting with SSH servers
The Secure Shell (SSH) protocol
SSH has become a very popular network protocol for performing secure data communication between two computers. Both of the parts in communication use SSH key pairs to encrypt their communications. Each key pair has one private and one public key. The public key can be published to anyone who may be interested in that. The private key is always kept private and secure from everyone except the owner of the key.
Public and private SSH keys can be generated and digitally signed by a certification authority (CA). These keys can...