Skip to main content

Simple utility to tunnel ssh over http

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ssh2http-0.1.0.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distributions

ssh2http-0.1.0-py3.9.egg (5.7 kB view hashes)

Uploaded Source

ssh2http-0.1.0-py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page