Skip to main content

mtunnel

Creates multiple background SSH tunnels for services within a project and stage.

installation

Install the package from PyPI:

pip3 install mtunnel

usage

For example:

With this config in mtunnel.yml:

jumpbox:
  ssh_address: bastion.example.com
  dont_sudo: true

region: us-east-1

projects:
  project1:
    profile: default
    stages:
      staging:
        mysql:
          bind_port: 3306
          host_address: staging-rds-0.us-east-1.rds.amazonaws.com
          host_port: 3306
        es:
          bind_port: 9200
          host_address: vpc-staging-abcdefghijkl.us-east-1.es.amazonaws.com
          host_port: 443

when you run this command:

mtunnel project1 staging

the following SSH tunnels will be setup via bastion.example.com:

mysql: localhost:3306 -> staging-rds-0.us-east-1.rds.amazonaws.com:3306
es: localhost:9200 -> vpc-staging-rds-abcdefghijkl.us-east-1.es.amazonaws.com:443

Metadata

Release files for mtunnel 0.0.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 mtunnel 0.0.0
File Size Uploaded Provenance Actions
mtunnel-0.0.0.tar.gz 3.6 kB Without provenance Details for mtunnel-0.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mtunnel 0.0.0
File Interpreter ABI Platform Actions
mtunnel-0.0.0-py3-none-any.whl Python 3 none any Details for mtunnel-0.0.0-py3-none-any.whl

Total release size: 7.9 kB

Release files / mtunnel-0.0.0.tar.gz

Download URL mtunnel-0.0.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ddc35f738ee29d97e67fbf4cd4a796f494819b53239382c6e5cd5ff4bd0a5aa9
BLAKE2b-256 checksum
How to use checksums
4ad4cd3822bf370baa658d27b68d54eaf46bca46e8ebd33741374ef664e11629
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / mtunnel-0.0.0-py3-none-any.whl

Download URL mtunnel-0.0.0-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
46b09206f450a4572c217b1fe5ed0490faed33c09471845ab5f9fc93dcd68016
BLAKE2b-256 checksum
How to use checksums
f3a5f7192aa16047a41e40206345b1825a0b3dfcfaa72a6533e9cf4215b795e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Security for mtunnel 0.0.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.0 This release

2 release files No 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