$npx skillfedfor your agent

asyncssh

AsyncSSH: Asynchronous SSHv2 client and server library

Worth itPyPI Python ModulesReleased Jun 202619.4M downloads / moEPL-2.0 OR GPL-2.0-or-laterPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — asyncssh-2.24.0-py3-none-any.whl
v2.24.0 · released 2026-06-27 · Python >=3.10 · 2 runtime deps: cryptography, typing_extensions

Yes. AsyncSSH is a mature, actively maintained library with low install friction, no known vulnerabilities, and strong support for modern Python versions. The copyleft license (EPL-2.0 or GPL-2.0-or-later) requires attention if you plan to distribute proprietary software, but poses no barrier for internal or open-source use. Install it if you need async SSH functionality in Python.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later and cryptography 39.0 or later.
  • Optional features (U2F/FIDO2, PKCS#11, GSSAPI, post-quantum algorithms) require additional system libraries or Python packages.
  • Low install friction with only two runtime dependencies (cryptography and typing_extensions).

License · maintenance · safety

EPL-2.0 OR GPL-2.0-or-later (copyleft) — Dual-licensed under EPL-2.0 or GPL-2.0-or-later (copyleft). Users must comply with one of these licenses; GPL-2.0-or-later imposes source-code distribution obligations if the package is distributed as part of a larger work.

last release 2026-06-27 (48 days) · last repo commit 2026-08-08 · 1,751 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 19,391,101 downloads/mo, #1,066 on PyPI

Verify before relying

pip install asyncssh

import asyncio
import asyncssh

async def run_client():
    async with asyncssh.connect('localhost') as conn:
        result = await conn.run('echo "Hello!"', check=True)
        print(result.stdout, end='')

asyncio.run(run_client())
  • Performance characteristics under high concurrency or large file transfers
  • Compatibility with specific SSH server implementations beyond OpenSSH
  • Security audit status or third-party security review history
Same gist for agents: .md · .json

What it is and what it does

AsyncSSH is a production-grade SSH protocol library built on Python's asyncio framework. It implements both client and server sides of SSHv2, SFTP, and SCP, allowing you to run remote commands, transfer files, forward ports, and manage SSH tunnels asynchronously within a single event loop. The package handles key exchange, multiple authentication methods (public key, password, keyboard-interactive), and session management, with support for modern algorithms including post-quantum key exchange (ML-KEM, SNTRUP).

The library is designed for developers who need SSH functionality in async Python applications—whether building automation tools, remote administration systems, or integrating SSH into larger async services. It depends only on cryptography and typing_extensions at runtime, with optional extras for enhanced features like FIDO2 security keys, PKCS#11 tokens, and GSSAPI authentication. The codebase is actively maintained, supports Python 3.10 through 3.14, and carries no known vulnerabilities.

Use it for

  • Automate remote command execution and file transfers in async Python applications without blocking the event loop.
  • Build SSH-based tunneling and port-forwarding services that handle multiple concurrent connections efficiently.
  • Implement custom SSH servers for embedded systems, IoT devices, or specialized remote-access protocols.
  • Integrate SSH key management and authentication into larger async frameworks or microservices.
  • Execute batch operations across multiple remote hosts concurrently using a single asyncio event loop.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

AsyncSSH is a mature, actively maintained library with low install friction, no known vulnerabilities, and strong support for modern Python versions. The copyleft license (EPL-2.0 or GPL-2.0-or-later) requires attention if you plan to distribute proprietary software, but poses no barrier for internal or open-source use. Install it if you need async SSH functionality in Python.

Install

asyncssh on PyPI

Before you install

Low install friction with only two runtime dependencies (cryptography and typing_extensions). Active maintenance with a recent release 48 days ago and ongoing repository activity. Supports current Python versions (3.10–3.14).

Requires Python 3.10 or later and cryptography 39.0 or later. Optional features (U2F/FIDO2, PKCS#11, GSSAPI, post-quantum algorithms) require additional system libraries or Python packages.

License in practice

Dual-licensed under EPL-2.0 or GPL-2.0-or-later (copyleft). Users must comply with one of these licenses; GPL-2.0-or-later imposes source-code distribution obligations if the package is distributed as part of a larger work.

Quickstart

pip install asyncssh

import asyncio
import asyncssh

async def run_client():
    async with asyncssh.connect('localhost') as conn:
        result = await conn.run('echo "Hello!"', check=True)
        print(result.stdout, end='')

asyncio.run(run_client())

Verify before relying

  • Performance characteristics under high concurrency or large file transfers
  • Compatibility with specific SSH server implementations beyond OpenSSH
  • Security audit status or third-party security review history

Package facts

LicenseEPL-2.0 OR GPL-2.0-or-later copyleft
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
cryptographytyping_extensions
MaintenanceActively maintained 48 days since the last release
Last repo commit
First released
Downloads19,391,101 / month, #1,066 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI ApprovedOperating System :: MacOS :: MacOS XOperating System :: POSIXProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: InternetTopic :: Security :: CryptographyTopic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Networking

Evidence: asyncssh-2.24.0-py3-none-any.whl

Tags

Capabilities
async ssh client serverasyncio ssh protocolsftp python asyncssh tunneling forwardingremote command executionscp file transferssh key authentication
Topics
async-iossh-protocolcryptography

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “async ssh client server”

  • asyncsshAsyncSSH provides an asynchronous SSH client and server…
  • mock-ssh-serverProvides a Python context manager that runs an in-process SSH server…
  • TwistedTwisted is an event-driven networking framework that provides…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also parallel-ssh · sshfs · sshpubkeys · scp · fs.sshfs · sftpretty · sshuttle · mock-ssh-server · paramiko · pproxy