Skip to main content

ssh2http

Motivation

Imagine you want to multiplex/expose one ssh connection over a simple REST API. Ideally you want to just pass the hostname and it does the lookup via the ssh_agent.

Installation

python3 -m pip install ssh2http

Usage

# server
python3 -m ssh2http <name-of-ssh-config-entry> <port - defaults to 1337>

# client

python3 -m ssh2http.client <url-to-ssh2http-server> <timeout-of-commands - defaults to 30 secs>

License

This project is licensed under the GPL-3 license.

Metadata

Release files for ssh2http 0.1.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 ssh2http 0.1.0
File Size Uploaded
ssh2http-0.1.0.tar.gz 2.7 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for ssh2http 0.1.0
File Interpreter ABI Platform
ssh2http-0.1.0-py3.9.egg Legacy Egg format - - Details
ssh2http-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.6 kB

Release files / ssh2http-0.1.0.tar.gz

Download URL ssh2http-0.1.0.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
db78a45933ec4c7e81104aa7d65d121a342f0af632b320a8bf80ef1c5570c064
BLAKE2b-256 checksum
How to use checksums
b48db6379629edfa3e540c1a85ca865db41b65b8b24f3993d28d59f679137410
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

Release files / ssh2http-0.1.0-py3.9.egg

Download URL ssh2http-0.1.0-py3.9.egg
Size 5.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
37093d1d303cba52f0ddac69b64e084e0d0e59c5727a2b887a05a900b32871bd
BLAKE2b-256 checksum
How to use checksums
3054986606e088fe77b68ba054072452ca3e2f8f1de6e80579ad5ca5e0cab1e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

Release files / ssh2http-0.1.0-py3-none-any.whl

Download URL ssh2http-0.1.0-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d2a8df153ce512dada38dcafa665efcebb6f75f209b9ff799146f0e8be74076
BLAKE2b-256 checksum
How to use checksums
0c90e4fc38e83a8ec6d0ed5e7fcd4a988248173ea20ea8c96e51318699deb7ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

Release history Release notifications | RSS feed

This release

0.1.0 This release

3 release files

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