Paramiko
termKept in this browser · My desk
A Python implementation of the SSHv2 protocol, for clients and servers, on which Netmiko and ncclient are built.
Its client checks host keys strictly by default: a server whose key is not already known is refused unless the script chooses another policy, while AutoAddPolicy accepts and saves whatever key it is shown. Release 5.0 removed the SHA-1 key exchanges and SHA-1 RSA signatures, and 4.0 removed DSA keys, so a very old device may refuse to talk to a current Paramiko; the changelog's advice for DSA is to stay on 3.x, and the better fix is to update the device.
Also known as: paramiko.SSHClient, python ssh library
Sources
- Paramiko documentation: a Python implementation of SSHv2; SSHClient checks host keys and rejects unknown ones by default (RejectPolicy), AutoAddPolicy adds and saves them (read 2026-10-27)
- Paramiko changelog: 4.0.0 removed DSA, 5.0.0 removed SHA-1 key exchanges and SHA-1 RSA signatures, 5.1.0 of 17 October 2026 added mlkem768x25519-sha256 (read 2026-10-27)