docker2ssh Python Package
docker2ssh is the primary CLI exposed by the Python package.
It does not reimplement the SSH server in Python. Instead, it:
- discovers the bundled runtime executable
- exposes a small Python API
- provides a
docker2sshconsole script
Install
python3 -m pip install -U pip
python3 -m pip install -U docker2ssh
Published Linux wheels bundle the runtime directly. Set D2S_BIN only if you want to override
the bundled executable:
export D2S_BIN=/usr/local/bin/d2s
Notes:
pip install -U docker2sshalso works as the update command- Upgrading
pipfirst is recommended on older Linux systems - Published wheels currently target Linux
x86_64andaarch64
Python API
from docker2ssh import D2S
client = D2S(config="/etc/d2s/config.toml")
print(client.show())
client.config_set(2222, "my-container")
CLI Wrapper
docker2ssh show
docker2ssh config set 2222 my-container
docker2ssh serve
docker2ssh stop
docker2ssh upgrade
Metadata
Release files for docker2ssh 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| docker2ssh-0.0.5-py3-none-manylinux_2_17_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details for docker2ssh-0.0.5-py3-none-manylinux_2_17_x86_64.whl |
| docker2ssh-0.0.5-py3-none-manylinux_2_17_aarch64.whl | Python 3 | none | Linux glibc 2.17+ ARM64 | Details for docker2ssh-0.0.5-py3-none-manylinux_2_17_aarch64.whl |
Total release size: 5.7 MB
Release files / docker2ssh-0.0.5-py3-none-manylinux_2_17_x86_64.whl
| Download URL | docker2ssh-0.0.5-py3-none-manylinux_2_17_x86_64.whl |
|---|---|
| Size | 2.9 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
b117556698d5c60b4be0a5d237887928dc2d12766b5bd34b3140d6001ff373b1
|
|
BLAKE2b-256 checksum How to use checksums |
8da371c84cfc6f7da55dd13f33bda92dc95e898f526c118b2b39ba79162e1398
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 12, 2026.
Transparency logRelease files / docker2ssh-0.0.5-py3-none-manylinux_2_17_aarch64.whl
| Download URL | docker2ssh-0.0.5-py3-none-manylinux_2_17_aarch64.whl |
|---|---|
| Size | 2.8 MB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
7f4ae1b715e987e17f83252cbd2cf8ffcd475268b9e3912f55771c2e37c66a40
|
|
BLAKE2b-256 checksum How to use checksums |
82c67517de6886f68f6badcbd724f4b215a8c7ba4bc41642871271d3aa1833e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 12, 2026.
Transparency logSecurity for docker2ssh 0.0.5
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
Both files in this release have been uploaded with provenance metadata.
Attestation for docker2ssh-0.0.5-py3-none-manylinux_2_17_x86_64.whl
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 May 12, 2026.
Transparency logA 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.