Skip to main content

Convenience tool to create SSH tunnels to cluster applications on AWS.

Example cluster applications would be:

  • Kafka

  • Zookeeper

  • Cassandra

This tool automatically adds the private VPC IPs to your local loopback lo interface and to your /etc/hosts file. Cluster nodes can be accessed directly from your local machine.

$ tunnels my-senza-stack 9092 odd-eu-central-1.myteam.example.org --region eu-central-1

Installation

$ git clone https://github.com/zalando-stups/ssh-tunnels.git
$ cd ssh-tunnels
$ sudo python3 setup.py install # remove "sudo" if you have user-local Python setup

Usage

Connecting to a Cassandra cluster deployed with Senza:

$ piu odd-eu-west-1.myteam.example.org SSH tunnel to Cassandra for keyspace management
$ tunnels my-cassandra 9042 odd-eu-west-1.myteam.example.org --region eu-west-1
# open a new terminal
$ cqlsh 172.31.141.1 # take one seed IP printed by tunnels.py

Metadata

Release files for stups-ssh-tunnels 0.1

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

Source distribution (sdist)

Source distribution for stups-ssh-tunnels 0.1
File Size Uploaded Provenance
stups-ssh-tunnels-0.1.tar.gz 3.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for stups-ssh-tunnels 0.1
File Interpreter ABI Platform
stups_ssh_tunnels-0.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.2 kB

Release files / stups-ssh-tunnels-0.1.tar.gz

Download URL stups-ssh-tunnels-0.1.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
237f65a49a57c3ccb8d85d5eca97464a3c4d0e5a2e970eaf8902cc0f628ba423
BLAKE2b-256 checksum
How to use checksums
5b1296a7f0e97014bf48c6fbc52f1a8b45e3045e76632b001a4e3d6ab7a65c10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / stups_ssh_tunnels-0.1-py3-none-any.whl

Download URL stups_ssh_tunnels-0.1-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
37757a1f28801d3ebe29fcdb966006609d6c9a2763b0719d39706dbe9eb66512
BLAKE2b-256 checksum
How to use checksums
78350c61213c6328041e80fe00086d3627cfa9b92f053af22852ab842b50215d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for stups-ssh-tunnels 0.1

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.1 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