back to home

paramiko / paramiko

The leading native Python SSHv2 protocol library.

9,682 stars
2,036 forks
1,151 issues
Python

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing paramiko/paramiko in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind-ai.vercel.app/repo/paramiko/paramiko)
Preview:Analyzed by RepoMind

Repository Summary (README)

Preview

|version| |python| |license| |ci| |coverage|

.. |version| image:: https://img.shields.io/pypi/v/paramiko :target: https://pypi.org/project/paramiko/ :alt: PyPI - Package Version .. |python| image:: https://img.shields.io/pypi/pyversions/paramiko :target: https://pypi.org/project/paramiko/ :alt: PyPI - Python Version .. |license| image:: https://img.shields.io/pypi/l/paramiko :target: https://github.com/paramiko/paramiko/blob/main/LICENSE :alt: PyPI - License .. |ci| image:: https://img.shields.io/circleci/build/github/paramiko/paramiko/main :target: https://app.circleci.com/pipelines/github/paramiko/paramiko :alt: CircleCI .. |coverage| image:: https://img.shields.io/codecov/c/gh/paramiko/paramiko :target: https://app.codecov.io/gh/paramiko/paramiko :alt: Codecov

Welcome to Paramiko!

Paramiko is a pure-Python [#]_ implementation of the SSHv2 protocol [#], providing both client and server functionality. It provides the foundation for the high-level SSH library Fabric <https://fabfile.org>, which is what we recommend you use for common client use-cases such as running remote shell commands or transferring files.

Direct use of Paramiko itself is only intended for users who need advanced/low-level primitives or want to run an in-Python sshd.

For installation information, changelogs, FAQs and similar, please visit our main project website <https://paramiko.org>; for API details, see the versioned docs <https://docs.paramiko.org>. Additionally, the project maintainer keeps a roadmap <http://bitprophet.org/projects#roadmap>_ on his personal site.

.. [#] Paramiko relies on cryptography <https://cryptography.io>_ for crypto functionality, which makes use of C and Rust extensions but has many precompiled options available. See our installation page <https://www.paramiko.org/installing.html>_ for details.

.. [#] OpenSSH's RFC specification page is a fantastic resource and collection of links that we won't bother replicating here: https://www.openssh.com/specs.html

OpenSSH itself also happens to be our primary reference implementation:
when in doubt, we consult how they do things, unless there are good reasons
not to. There are always some gaps, but we do our best to reconcile them
when possible.