Skip to main content

Code Craft AI Protocol SSH

The codecraftai-protocol-ssh package is the dedicated SSH-protocol implementation for the ccai suite. It provides the building blocks (transport, session, packet handling, SFTP, tunnels, key and authentication handling, and a client/agent facade) used by any higher-level ccai package that needs to manage remote systems over SSH. It is consumed by codecraftai-interop, codecraftai-landscaping (SSH-based coordinators), and the sysman packages that reach hosts over SSH.

Highlights

  • Connection lifecycle classes: SshBase, SshClient, SshConnection, SshSession, SshTransport, and SshAgent.

  • SshAspects for packaging behaviour parameters (retry, timeout, action pattern) on SSH calls in the aspects style.

  • Key and authentication helpers in sshkeys.py and sshauth.py.

  • SFTP and tunnel support in sshsftp.py and sshtunnel.py.

  • RFC-aligned implementations of the SSH transport and user authentication layers.

Repository Structure

  • development/ - Runtime environment scripts.

  • repository-setup/ - Repository homing and setup scripts.

  • source/packages/ - Package source code.

  • source/tests/ - unittest-based tests.

  • source/testroots/testbase/ - TestBase test roots.

  • specs/ - Requirements, design, and reference RFC documents.

  • userguide/ - Standards, conventions, and documentation.

Environment Setup

When working in a Codex container:

./development/setup-agent-container

For local development:

./repository-setup/rehome-repository
./development/setup-envrionment

Running Tests

Activate the virtual environment:

source .venv/bin/activate

Run unittest tests:

python -m unittest discover -s source/tests -p "test_*.py"

Run TestBase tests (when test roots are populated):

testbase testing run --root source/testroots/testbase --includes=ccai --output=./.output

Standards and Conventions

  • Naming conventions: userguide/10-02-naming-conventions.rst

  • Code organization: userguide/10-01-code-organization.rst

  • Coding standards: userguide/10-00-coding-standards.rst

Additional Resources

  • Design documentation: specs/design.md

  • Requirements: specs/requirements.md

  • SSH protocol RFCs: specs/rfc4251.txt, specs/rfc4252.txt, specs/rfc4254.txt

Metadata

Release files for codecraftai-protocol-ssh 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for codecraftai-protocol-ssh 1.3.0
File Size Uploaded Provenance
codecraftai_protocol_ssh-1.3.0.tar.gz 63.7 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for codecraftai-protocol-ssh 1.3.0
File Interpreter ABI Platform
codecraftai_protocol_ssh-1.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 134.7 kB

Release files / codecraftai_protocol_ssh-1.3.0.tar.gz

Download URL codecraftai_protocol_ssh-1.3.0.tar.gz
Size 63.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a187c4eb3f6f9c5b61aadea7582c79a128665a06e7e894d35d16f15ad4744341
BLAKE2b-256 checksum
How to use checksums
8d542179eb5568698c181ef54f6fffb3155e80429ab3b768a1846cd419c64046
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / codecraftai_protocol_ssh-1.3.0-py3-none-any.whl

Download URL codecraftai_protocol_ssh-1.3.0-py3-none-any.whl
Size 71.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
14fa2e10f087e7dc3622095baa65a7cbc291d2775aaf5db16679c6417d4e27b6
BLAKE2b-256 checksum
How to use checksums
fd9b0f827c72bf89e1be812007e909483c555b7166d8215ca5540158da7dcda3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Security for codecraftai-protocol-ssh 1.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for codecraftai_protocol_ssh-1.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page