# ronf/asyncssh

AsyncSSH is a Python package which provides an asynchronous client and server implementation of the SSHv2 protocol on top of the Python asyncio framework.

Repository: https://github.com/ronf/asyncssh
Canonical: https://ross.abutalabs.com/products/asyncssh
Language: Python
License: EPL-2.0
License Family: copyleft
Last push: 2026-08-16T00:03:07+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 35, longevity 100
- inputs: {"age_days": 4630, "days_push": 18, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1753, forks 176 (observed 2026-08-28T04:05:31.912812+00:00)

## What it is
AsyncSSH is a Python library providing asynchronous client and server implementations of the SSHv2 protocol, including SFTP and SCP, built on Python's asyncio framework. It supports a wide range of SSH features such as port forwarding, multiple authentication methods, public keys, certificates, and ssh-agent integration.

## Use cases
- run remote commands over ssh from python asynchronously
- implement an ssh server in python
- transfer files with sftp or scp programmatically
- set up local or remote port forwarding over ssh
- automate ssh-based tasks with asyncio
- authenticate with public keys, passwords, or FIDO2 security keys

## When to choose
- you need SSH client or server functionality in an asyncio-based Python application
- you need SFTP/SCP file transfer with async I/O
- you need advanced SSH features like forwarding, agent support, or X.509 certificates

## When to avoid
- you need a simple blocking SSH client without asyncio
- you are not using Python 3.10+
- you need a command-line SSH tool rather than a library

## Facets
- artifact type: library
- maturity: stable
- function: ssh, networking, security, cryptography, file-system
- domain: networking, security, developer-tools, backend
- platform: python, windows, cross-platform
- tags: sshv2, asyncio, sftp, scp, port-forwarding, async-client-server, linux, macos

## Member repositories
- ronf/asyncssh (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:31.912812+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:28:14.755076+00:00, confidence not recorded.
  - readme: https://github.com/ronf/asyncssh (fetched 2026-08-28T04:05:31.912812+00:00, sha e68b84346357)
  - registry_pypi: https://pypi.org/pypi/asyncssh/json (fetched 2026-08-29T11:06:15.517759+00:00, sha 0ab7d2451bcb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
