Paramiko is a library that implements the SSH protocol, commonly used to remotely manage UNIX systems. SSH was originally invented as a secure alternative to the “telnet” command, but soon became the de facto remote management tool. Even systems that use custom agents to manage a server fleet, such as Salt, will often be bootstrapped with SSH to install the custom agents. When a system is described as “agent-less,” as, for example, Ansible is, it usually means that it uses SSH as its underlying management protocol.
Paramiko wraps the protocol and allows both high-level and low-level abstractions. In this chapter, ...