Installing Paramiko

You can install Paramiko directly from the pip Python repository with the classic command: pip install paramiko. You can install it in Python 2.4 and 3.4+, and there are some dependencies that must be installed on your system, such as the PyCrypto and Cryptography modules depending on what version you are going to install. These libraries provide low-level, C-based encryption algorithms for the SSH protocol. In the official documentation, you can see how to install it and the different versions available:

http://www.paramiko.org

The installation details for Cryptography can be found at:

https://cryptography.io/en/latest/installation

Get Mastering Python for Networking and Security now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.